[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #WCE-132567]: LDM 6.4.4 make failure... 64bit RH



> I am trying to build LDM 6.4.4 on CentOS 4.2 x386 64bit. The server is a dual
> Opteron server. Here is where it fails on compilation. It seems it can't 
> locate
> libperl.so.
> 
> Here is the tail of the make process and where the libperl.so is located on 
> the
> server.
> 
> Thanks for any assistance.
> 
> Mike
> 
> make[2]: Entering directory `/usr/local/ldm/ldm-6.4.4/src/protocol'
> (echo '#include "ldmconfig.h"'; rpcgen -c ldm.x) | \
> sed \
> -e 's/xdr_opaque *( *xdrs, *objp, *16)/xdr_opaque(xdrs, (char*)objp, 16)/' \
> -e '/#if defined(_LP64)/,/#endif/d' > ldm_xdr.c
> rpcgen -h ldm.x | \
> sed 's/typedef *char *signaturet/typedef unsigned char signaturet/' > ldm.h
> c89 -c -O -m64 -DNDEBUG  -I.. -I../config -I. -I../misc -I../ulog 
> -I../protocol
> -I../pq -I../server atofeedt.c
> c89 -c -O -m64 -DNDEBUG  -I.. -I../config -I. -I../misc -I../ulog 
> -I../protocol
> -I../pq -I../server autoshift.c
> c89 -c -O -m64 -DNDEBUG  -I.. -I../config -I. -I../misc -I../ulog 
> -I../protocol
> -I../pq -I../server globals.c
> c89 -c -O -m64 -DNDEBUG  -I.. -I../config -I. -I../misc -I../ulog 
> -I../protocol
> -I../pq -I../server h_clnt.c
> c89 -c -O -m64 -DNDEBUG  -I.. -I../config -I. -I../misc -I../ulog 
> -I../protocol
> -I../pq -I../server ldm4_svc.c
> c89 -c -O -m64 -DNDEBUG  -I.. -I../config -I. -I../misc -I../ulog 
> -I../protocol
> -I../pq -I../server ldm5_svc.c
> c89 -c -O -m64 -DNDEBUG  -I.. -I../config -I. -I../misc -I../ulog 
> -I../protocol
> -I../pq -I../server ldm_xdr.c
> c89 -c -O -m64 -DNDEBUG  -I.. -I../config -I. -I../misc -I../ulog 
> -I../protocol
> -I../pq -I../server ldm_xlen.c
> c89 -c -O -m64 -DNDEBUG  -I.. -I../config -I. -I../misc -I../ulog 
> -I../protocol
> -I../pq -I../server ldm5_clnt.c
> (echo '#include "ldmconfig.h"'; rpcgen -l ldm.x) > ldm6_clnt.c.tmp || \
> rm ldm6_clnt.c.tmp
> perl fix_clnt.pl < ldm6_clnt.c.tmp > ldm6_clnt.c && rm ldm6_clnt.c.tmp       #
> fix stuff
> perl: error while loading shared libraries: libperl.so: cannot open shared
> object file: No such file or directory
> make[2]: *** [ldm6_clnt.c] Error 127
> make[2]: Leaving directory `/usr/local/ldm/ldm-6.4.4/src/protocol'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/usr/local/ldm/ldm-6.4.4/src'
> make: *** [protocol/all] Error 2

Looks like your perl(1) installation is broken.  The above command

    perl fix_clnt.pl < ldm6_clnt.c.tmp > ldm6_clnt.c

will work as long as the perl(1) utility works.  I suggest going into the 
"server/" subdirectory and executing the command manually to determine what's 
wrong.  After you've fixed your perl(1) installation, you can restart the 
make(1) in the parent directory.

As a guess, you might need to add 
/usr/lib64/perl5/5.8.4/x86_64-linux-thread-multi/CORE/ to an environment 
variable (e.g., LD_LIBRARY_PATH).

...
> Mike Dross, CEO
> Wright-Weather, LLC
> address@hidden
> Ph.  704-553-7904
> Fax: 704-552-0979
Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: WCE-132567
Department: Support LDM
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.