LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-31-2012, 03:17 PM   #1
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 14.1/Current, CentOS 6.5/7.0
Posts: 792

Rep: Reputation: Disabled
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
 
Old 03-31-2012, 04:02 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,755
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
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
 
Old 03-31-2012, 04:36 PM   #3
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 14.1/Current, CentOS 6.5/7.0
Posts: 792

Original Poster
Rep: Reputation: Disabled
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.

Last edited by PrinceCruise; 03-31-2012 at 09:48 PM.
 
Old 04-01-2012, 11:03 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,755
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
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.
 
Old 04-05-2012, 12:57 PM   #5
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 14.1/Current, CentOS 6.5/7.0
Posts: 792

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-05-2012, 04:07 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,755
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
libaudio is provided by Network Audio System (NAS), I think. you can get NAS at SlackBuilds --> http://slackbuilds.org/repository/13.37/audio/nas/
 
Old 06-04-2012, 08:42 AM   #7
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 14.1/Current, CentOS 6.5/7.0
Posts: 792

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: libgda-4.0.so.4: cannot open shared object file mahesh1234 Linux - Newbie 2 10-23-2013 12:06 AM
honeyd: error while loading shared libraries: libdnet.1: cannot open shared object fi secbuddy Linux - Software 2 12-24-2011 03:01 PM
top: error while loading shared libraries: libproc.so.2.0.6: cannot open shared objec ramesh_india2020 Linux - Server 1 07-29-2010 01:52 PM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 06:47 AM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file PaulyWally Debian 2 10-18-2008 06:59 PM


All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration