LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Slackware 13.37 x86 - error while loading shared libraries: libzfXComm.so.1 (http://www.linuxquestions.org/questions/linux-software-2/slackware-13-37-x86-error-while-loading-shared-libraries-libzfxcomm-so-1-a-937448/)

PrinceCruise 03-31-2012 02:17 PM

Slackware 13.37 x86 - error while loading shared libraries: libzfXComm.so.1
 
Hi,

I created a txz package from the rpm package, which came with the MTS Mblaze USB modem I bought, it's a Huwaei ZTE device -
- CrossPlatformUI-V2.1.2-SSTL-i586-openSUSE.rpm

The package was successfully created as seen aftre running rpm2txz command-
Quote:

- Slackware package /home/prince/Templates/CrossPlatformUI-V2.1.2-SSTL-i586-openSUSE.txz created.
The Modem icon appeared up in Network but it doesn't do anything. So I tried the console -
Quote:

root@slackerpingu:~# /usr/bin/ztemtapp
/usr/local/bin/ztemtApp/bin/App: error while loading shared libraries: libzfXComm.so.1: cannot open shared object file: No such file or directory

Locate and whereis couldn't find the libzfXComm object.

Quote:

root@slackerpingu:/usr/local/bin/ztemtApp/bin# locate libzfXComm
locate: fatal error: Could not find user database '/var/lib/slocate/slocate.db': No such file or directory
I see some related links in /usr/local/bin/ztemtApp/bin -
Quote:

...
lrwxrwxrwx 1 root root 19 Apr 1 12:27 libzfXComm.so -> libzfXComm.so.1.0.0*
lrwxrwxrwx 1 root root 19 Apr 1 12:27 libzfXComm.so.1 -> libzfXComm.so.1.0.0*
lrwxrwxrwx 1 root root 19 Apr 1 12:27 libzfXComm.so.1.0 -> libzfXComm.so.1.0.0*
-rwxr-xr-x 1 root root 959154 Mar 16 2011 libzfXComm.so.1.0.0*

...
My question is, where from I'm going to install this shared object?

Any help would be greatly appreciated. Let me know if any more information is required.

Regards,
Prince

weibullguy 03-31-2012 03:02 PM

You need to create a slocate database. Not having one is the source of this error
Code:

locate: fatal error: Could not find user database '/var/lib/slocate/slocate.db': No such file or directory
And, until you have one locate isn't going to find anything.

You could either add /usr/local/bin/ztemtApp/bin to your ld.so.conf file or create links to /usr/local/bin/ztemtApp/bin/libzfXComm.so.1.0.0 some place more standard like /usr/local/lib

PrinceCruise 03-31-2012 03:36 PM

Thanks for the reply.
Creating slocate database is done by updatedb &.

I added the /usr/local/bin/ztemtApp/bin to the ld.so.conf file -

Quote:

root@slackerpingu:~# cat /etc/ld.so.conf
/usr/local/lib
/usr/i486-slackware-linux/lib
/usr/lib/seamonkey
/usr/local/bin/ztemtApp/bin
Didn't work still.

I created a soft link to both /usr/local/lib and /usr/lib -

Quote:

root@slackerpingu:/usr/local/lib# ls -la libzfXComm.so.1
lrwxrwxrwx 1 root root 47 Apr 1 14:02 libzfXComm.so.1 -> /usr/local/bin/ztemtApp/bin/libzfXComm.so.1.0.0*

root@slackerpingu:/usr/lib# ls -la libzfXComm.so.1
lrwxrwxrwx 1 root root 47 Apr 1 14:02 libzfXComm.so.1 -> /usr/local/bin/ztemtApp/bin/libzfXComm.so.1.0.0*
Still no luck. Same issue -
Quote:

root@slackerpingu:/usr/lib# ls -la libzfXComm.so.1
lrwxrwxrwx 1 root root 47 Apr 1 14:02 libzfXComm.so.1 -> /usr/local/bin/ztemtApp/bin/libzfXComm.so.1.0.0*
Am I missing anything?

Regards.

EDIT : I knew the way around kppp and right now I'm online using the modem. But I'd still love to use the default GUI provided by the manufacturer. Let me know if anybody has any suggestion in the right direction for the issue.

weibullguy 04-01-2012 10:03 AM

First, did you execute ldconfig after adding the entry to /etc/ld.so.conf? Second, I would remove the links you created in /usr/local/lib and /usr/lib since they didn't solve the problem.

PrinceCruise 04-05-2012 11:57 AM

Hello, sorry for not acknowledging the reply. Was out of station for some time.
I forgot to run ldconfig, I ran it after. But now the error has changed to missing libaudio-

Quote:

root@slackerpingu:~# /usr/bin/ztemtapp
/usr/local/bin/ztemtApp/bin/App: error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory
This is the /usr/lib/ -

Quote:

root@slackerpingu:~# ls -al /usr/lib/libaudio*
lrwxrwxrwx 1 root root 22 Mar 29 14:36 /usr/lib/libaudiocdplugins.so -> libaudiocdplugins.so.4*
lrwxrwxrwx 1 root root 26 Mar 29 14:36 /usr/lib/libaudiocdplugins.so.4 -> libaudiocdplugins.so.4.5.0*
-rwxr-xr-x 1 root root 9288 Jan 8 2011 /usr/lib/libaudiocdplugins.so.4.5.0*
-rw-r--r-- 1 root root 220664 Aug 10 2010 /usr/lib/libaudiofile.a
-rwxr-xr-x 1 root root 825 Aug 10 2010 /usr/lib/libaudiofile.la*
lrwxrwxrwx 1 root root 21 Mar 29 14:37 /usr/lib/libaudiofile.so -> libaudiofile.so.0.0.2*
lrwxrwxrwx 1 root root 21 Mar 29 14:37 /usr/lib/libaudiofile.so.0 -> libaudiofile.so.0.0.2*
-rwxr-xr-x 1 root root 136232 Aug 10 2010 /usr/lib/libaudiofile.so.0.0.2*

I'm googling on it further, I would appreciate any response from you.

Regards.

weibullguy 04-05-2012 03:07 PM

libaudio is provided by Network Audio System (NAS), I think. you can get NAS at SlackBuilds --> http://slackbuilds.org/repository/13.37/audio/nas/

PrinceCruise 06-04-2012 07:42 AM

Installing libaudio didn't work out and I didn't have time to dig in further. I'm marking the thread solved as I'll keep using kppp, that's almost hassle free and working great with my usb modem.
Thanks for the responses.


All times are GMT -5. The time now is 02:33 PM.