Operating System - Linux
1752781 Members
6148 Online
108789 Solutions
New Discussion юеВ

Re: can't start samba 'cause some library linking problem

 
Jeong-Hwan Kim_1
Occasional Advisor

can't start samba 'cause some library linking problem

Gurus,
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


would you all please let me know how i can fix it up. thanks in advance.



2 REPLIES 2
Jerome Henry
Honored Contributor

Re: can't start samba 'cause some library linking problem

Which distro /kernel do you run ?
What version of samba did you install (why do I see hpux in your path ) ?

Thanks

J
You can lean only on what resists you...
Jeong-Hwan Kim_1
Occasional Advisor

Re: can't start samba 'cause some library linking problem

Which distro /kernel do you run ?
What version of samba did you install (why do I see hpux in your path ) ?

Thanks

J
-------------------------------------------
$ uname -a
HP-UX gaia5 B.11.23 U ia64 ...

and version of samba is,
'samba-3.0.10-ia64-11.23.depot'

Now, I changed my mind to use CIFS server.
I'm, however, still wondering how to figure it out with linking issue.

I added '/usr/lib/hpux' path to LD_LIBRARY_PATH and SHLIB_PATH where libgcc.so existed.

Thanks