Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

/usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry

/usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry

ANY HELP WOULD BE DEEPLY APPRECIATED!! Always willing to give points.

Apache, Informix and SSL were compiled with ANSI C, on 11.11 64bit box. Compiles seemed flawless, however, when I try to start Apache, I received the above error in the error.log.
11 REPLIES
H.Merijn Brand (procura
Honored Contributor

Re: /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry

__umoddi3 is in libgcc.a

Using HP C-ANSI-C to compile, add -L/your/path/to/gcc/lib -lgcc

I know that this realy stinks, but I've found no better solution (yet). Get libgcc out of any valid (and architecture compliant) gcc port.

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn

Re: /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry

Forgive my stupidity, however, this is what I did:

export CC="cc -v -DEAPI -L/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3/libgcc.a"

then I ran "make", and
then I ran "make install".......same issue

Did I do this right?
H.Merijn Brand (procura
Honored Contributor

Re: /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry


export CC="cc -v -DEAPI -L/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3 -lgcc"

and now?

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn

Re: /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry

Nope, did not work...same error in error.log

{root@btsud4:/opt/apache/bin} ./apachectl start
./apachectl[71]: 24515 Abort(coredump)
./apachectl start: httpd could not be started

{root@btsud4:/opt/apache/logs} more error_log
/usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry
pto.sl.0.9.7

Caesar_3
Esteemed Contributor

Re: /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry

Hello!

You maybe have problem with the depend of
your binary files that you compiled with
the gcc.
When you compiled the bin files and libs
compiler write the lib depend of the file
in some libs of him (gcc),
but when you run the aplication she use
wrong lib file.
Check your SHLIB_PATH enviroment and see
you there is your gcc lib path in,
and maybe in the wright order, that it
find the wright lib in the first!

Caesar
Elena Leontieva
Esteemed Contributor

Re: /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry

Try to install the newer version of the linker by installing linker tools cumulative patch.
Check what you have first:
what /usr/lib/libdld.sl

Elena.

Re: /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry

Thanks for trying, ....
Tried moving my /usr/local/lib as the first library in the SHLIB_PATH. This did not help. I also tried to reference the same directory in my Apache configuration.tmpl file. STILL NOT WORKING.

I will now try to check out the linker patches.
benoit Bruckert
Honored Contributor

Re: /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry

Hi,
I had the same trouble with PHP compilation.
The fact is that the crypt library is included in HP-UX in another lib (libc), to solve it, you have to change your makefile, and remove the -l crypt to replace by -lc
see this url for the details
http://bugs.php.net/bug.php?id=19918

hope it may help..
Benoit
Une application mal pansée aboutit à une usine à gaze (GHG)
Bill Douglass
Esteemed Contributor

Re: /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry

Try including

/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3/

in your SHLIB_PATH.

Re: /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry

 
Elena Leontieva
Esteemed Contributor

Re: /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/lib/libcry

Still it would not probably hurt to try to install the patch:
PHSS_24303 or the most recent one PHSS_28434 if you do not have any of these.