- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- cant run samba with the library linking problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2007 12:13 PM
01-21-2007 12:13 PM
cant run samba with the library linking problem
Recently I installed samba (not CIFS server) with all dependancies and I faced some library linking problem.
---------------------------------------------
$ ./smbclient
/usr/lib/hpux32/dld.so: Unsatisfied code symbol '__udivsi3' in load module './smbclient'
So, I checked it up with 'ldd'
---------------------------------------------
$ ldd -r smbclient
...
symbol not found: __udivsi3 (smbclient)
symbol not found: __divsi3 (smbclient)
symbol not found: __modsi3 (smbclient)
symbol not found: __umodsi3 (smbclient)
Surely libgcc.so exists and i can find those symbols from the result of the followings.
---------------------------------------------
$ strings /usr/lib/hpux32/libgcc.so | grep ...
...
__udivsi3
__divsi3
__modsi3
__umodsi3
...
$ echo LD_LIBRARY_PATH
/usr/lib:/usr/local/lib:/usr/lib/hpux
$ echo /etc/SHLIB_PATH
/usr/lib:/etc/opt/resmon/lib:/opt/gnome/lib:/usr/lib/hpux32
would you all please let me know how i can fix it up. thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2007 03:10 PM - edited 10-21-2011 05:36 PM
01-22-2007 03:10 PM - edited 10-21-2011 05:36 PM
Re: can't run samba with the library linking problem
>libgcc.so exists and I can find those symbols from the result of the followings.
$ strings /usr/lib/hpux32/libgcc.so | grep ...
This is the wrong command. Use this instead:
$ elfdump -s -n .dynsym /usr/lib/hpux32/libgcc.so | grep ...
Your setting for LD_LIBRARY_PATH is wrong:
/usr/lib:/usr/local/lib:/usr/lib/hpux32
(Though the default should work.)
If you need 64 bit, you use hpux64. Note you can provide both if you want to use it for all types of applications.
I'm not sure why you would want to look at /etc/SHLIB_PATH, since you would have to do work in your .profile to activate it.
(Your commands above aren't the exact commands, should have been more/cat not echo. And you need a "$")
>$ ./smbclient
/usr/lib/hpux32/dld.so: Unsatisfied code symbol '__udivsi3' in load module './smbclient'
This is a known problem with a broken makefile. This application is broken and must be relinked.