Operating System - HP-UX
1748280 Members
3990 Online
108761 Solutions
New Discussion юеВ

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

 
Valery Kolander
Advisor

/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 11
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
Valery Kolander
Advisor

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
Valery Kolander
Advisor

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.
Valery Kolander
Advisor

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.