<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic cant run samba with the library linking problem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/cant-run-samba-with-the-library-linking-problem/m-p/3929860#M97293</link>
    <description>Gurus,&lt;BR /&gt;Recently I installed samba (not CIFS server) with all dependancies and I faced some library linking problem.&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;$ ./smbclient&lt;BR /&gt;/usr/lib/hpux32/dld.so: Unsatisfied code symbol '__udivsi3' in load module './smbclient'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So, I checked it up with 'ldd'&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;$ ldd -r smbclient&lt;BR /&gt;...&lt;BR /&gt;symbol not found: __udivsi3 (smbclient)&lt;BR /&gt;symbol not found: __divsi3 (smbclient)&lt;BR /&gt;symbol not found: __modsi3 (smbclient)&lt;BR /&gt;symbol not found: __umodsi3 (smbclient)&lt;BR /&gt;&lt;BR /&gt;Surely libgcc.so exists and i can find those symbols from the result of the followings.&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;$ strings /usr/lib/hpux32/libgcc.so | grep ...&lt;BR /&gt;...&lt;BR /&gt;__udivsi3&lt;BR /&gt;__divsi3&lt;BR /&gt;__modsi3&lt;BR /&gt;__umodsi3&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;$ echo LD_LIBRARY_PATH &lt;BR /&gt;/usr/lib:/usr/local/lib:/usr/lib/hpux&lt;BR /&gt;&lt;BR /&gt;$ echo /etc/SHLIB_PATH&lt;BR /&gt;/usr/lib:/etc/opt/resmon/lib:/opt/gnome/lib:/usr/lib/hpux32&lt;BR /&gt;&lt;BR /&gt;would you all please let me know how i can fix it up. thanks in advance.</description>
    <pubDate>Sun, 21 Jan 2007 20:13:29 GMT</pubDate>
    <dc:creator>Jeong-Hwan Kim_1</dc:creator>
    <dc:date>2007-01-21T20:13:29Z</dc:date>
    <item>
      <title>cant run samba with the library linking problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cant-run-samba-with-the-library-linking-problem/m-p/3929860#M97293</link>
      <description>Gurus,&lt;BR /&gt;Recently I installed samba (not CIFS server) with all dependancies and I faced some library linking problem.&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;$ ./smbclient&lt;BR /&gt;/usr/lib/hpux32/dld.so: Unsatisfied code symbol '__udivsi3' in load module './smbclient'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So, I checked it up with 'ldd'&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;$ ldd -r smbclient&lt;BR /&gt;...&lt;BR /&gt;symbol not found: __udivsi3 (smbclient)&lt;BR /&gt;symbol not found: __divsi3 (smbclient)&lt;BR /&gt;symbol not found: __modsi3 (smbclient)&lt;BR /&gt;symbol not found: __umodsi3 (smbclient)&lt;BR /&gt;&lt;BR /&gt;Surely libgcc.so exists and i can find those symbols from the result of the followings.&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;$ strings /usr/lib/hpux32/libgcc.so | grep ...&lt;BR /&gt;...&lt;BR /&gt;__udivsi3&lt;BR /&gt;__divsi3&lt;BR /&gt;__modsi3&lt;BR /&gt;__umodsi3&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;$ echo LD_LIBRARY_PATH &lt;BR /&gt;/usr/lib:/usr/local/lib:/usr/lib/hpux&lt;BR /&gt;&lt;BR /&gt;$ echo /etc/SHLIB_PATH&lt;BR /&gt;/usr/lib:/etc/opt/resmon/lib:/opt/gnome/lib:/usr/lib/hpux32&lt;BR /&gt;&lt;BR /&gt;would you all please let me know how i can fix it up. thanks in advance.</description>
      <pubDate>Sun, 21 Jan 2007 20:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cant-run-samba-with-the-library-linking-problem/m-p/3929860#M97293</guid>
      <dc:creator>Jeong-Hwan Kim_1</dc:creator>
      <dc:date>2007-01-21T20:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: can't run samba with the library linking problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cant-run-samba-with-the-library-linking-problem/m-p/3929861#M97294</link>
      <description>&lt;P&gt;&amp;gt;libgcc.so exists and I can find those symbols from the result of the followings.&lt;BR /&gt;$ strings /usr/lib/hpux32/libgcc.so | grep ...&lt;BR /&gt;&lt;BR /&gt;This is the wrong command. Use this instead:&lt;BR /&gt;$ elfdump -s -n .dynsym /usr/lib/hpux32/libgcc.so | grep ...&lt;BR /&gt;&lt;BR /&gt;Your setting for LD_LIBRARY_PATH is wrong:&lt;BR /&gt;/usr/lib:/usr/local/lib:/usr/lib/hpux32&lt;BR /&gt;&lt;BR /&gt;(Though the default should work.)&lt;BR /&gt;&lt;BR /&gt;If you need 64 bit, you use hpux64. Note you can provide both if you want to use it for all types of applications.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;(Your commands above aren't the exact commands, should have been more/cat not echo. And you need a "$")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;$ ./smbclient&lt;BR /&gt;/usr/lib/hpux32/dld.so: Unsatisfied code symbol '__udivsi3' in load module './smbclient'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a known problem with a broken makefile.&amp;nbsp; This application is broken and must be relinked.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2011 00:36:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cant-run-samba-with-the-library-linking-problem/m-p/3929861#M97294</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-22T00:36:45Z</dc:date>
    </item>
  </channel>
</rss>

