Sat, 21 Jul 2018 23:31:15 -0600
|
On Sun, 22 Jul 2018 00:15:39 -0400, David Phillips <[log in to unmask]>
wrote:
>gcc -o lsv lsv.o -O `echo "-lldap -lldap -lclntsh -ldb2 "`; \
Well, this is the problem. That command is all wrong. Don't use the
script. Just manually re-link in your temp directory with the command:
gcc -O -o lsv lsv.o -lldap nocli.o nooci.o
If that produces errors then try
gcc -O -o lsv lsv.o -lldap -llber -lresolv nocli.o nooci.o
If you get a successful re-link then double check thus:
[root@install2]# ldd lsv
linux-vdso.so.1 => (0x00007ffd8733f000)
libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f6578d41000)
liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f6578b32000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f6578917000)
libc.so.6 => /lib64/libc.so.6 (0x00007f6578556000)
libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f6578339000)
libssl3.so => /lib64/libssl3.so (0x00007f65780f6000)
libsmime3.so => /lib64/libsmime3.so (0x00007f6577ecf000)
libnss3.so => /lib64/libnss3.so (0x00007f6577ba9000)
libnssutil3.so => /lib64/libnssutil3.so (0x00007f657797c000)
libplds4.so => /lib64/libplds4.so (0x00007f6577778000)
libplc4.so => /lib64/libplc4.so (0x00007f6577573000)
libnspr4.so => /lib64/libnspr4.so (0x00007f6577334000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6577118000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f6576f14000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6578f9b000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f6576cdc000)
libz.so.1 => /lib64/libz.so.1 (0x00007f6576ac6000)
librt.so.1 => /lib64/librt.so.1 (0x00007f65768bd000)
libfreebl3.so => /lib64/libfreebl3.so (0x00007f65766ba000)
Your libraries version numbers will likely be different but the result
should look something like the above.
Commands to manually compile the other necessary LISTSERV utilities:
gcc -o lcmd lcmd.c -O -DSPOOL_DIR=\"/home/listserv/spool\"
gcc -o lsv_amin lsv_amin.c -O -DSPOOL_DIR=\"/home/listserv/spool\"
gcc -o jobview jobview.c -O
gcc -o listview listview.c -O
Then to install all the files in their proper locations:
make update
############################
To unsubscribe from the LSTSRV-L list:
write to: mailto:[log in to unmask]
or click the following link:
http://peach.ease.lsoft.com/scripts/wa-PEACH.exe?SUBED1=LSTSRV-L&A=1
|
|
|