This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> 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