blob: 147ee7426c219377deb3ce7481ef969630719ae6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
diff -Nur vsftpd-2.1.2.orig/vsf_findlibs.sh vsftpd-2.1.2/vsf_findlibs.sh
--- vsftpd-2.1.2.orig/vsf_findlibs.sh 2009-05-21 15:43:11.000000000 -0500
+++ vsftpd-2.1.2/vsf_findlibs.sh 2009-05-31 00:41:38.308704816 -0500
@@ -6,61 +6,61 @@
if find_func hosts_access tcpwrap.o; then
echo "-lwrap";
- locate_library /lib/libnsl.so && echo "-lnsl";
+ locate_library /lib64/libnsl.so && echo "-lnsl";
fi
# Look for PAM (done weirdly due to distribution bugs (e.g. Debian) or the
# crypt library.
if find_func pam_start sysdeputil.o; then
- locate_library /lib/libpam.so.0 && echo "/lib/libpam.so.0";
- locate_library /usr/lib/libpam.so && echo "-lpam";
+ locate_library /lib64/libpam.so.0 && echo "/lib64/libpam.so.0";
+ locate_library /usr/lib64/libpam.so && echo "-lpam";
# HP-UX ends shared libraries with .sl
- locate_library /usr/lib/libpam.sl && echo "-lpam";
+ locate_library /usr/lib64/libpam.sl && echo "-lpam";
# AIX ends shared libraries with .a
- locate_library /usr/lib/libpam.a && echo "-lpam";
+ locate_library /usr/lib64/libpam.a && echo "-lpam";
else
- locate_library /lib/libcrypt.so && echo "-lcrypt";
- locate_library /usr/lib/libcrypt.so && echo "-lcrypt";
+ locate_library /lib64/libcrypt.so && echo "-lcrypt";
+ locate_library /usr/lib64/libcrypt.so && echo "-lcrypt";
fi
# Look for the dynamic linker library. Needed by older RedHat when
# you link in PAM
-locate_library /lib/libdl.so && echo "-ldl";
+locate_library /lib64/libdl.so && echo "-ldl";
# Look for libsocket. Solaris needs this.
-locate_library /lib/libsocket.so && echo "-lsocket";
+locate_library /lib64/libsocket.so && echo "-lsocket";
# Look for libnsl. Solaris needs this.
-locate_library /lib/libnsl.so && echo "-lnsl";
+locate_library /lib64/libnsl.so && echo "-lnsl";
# Look for libresolv. Solaris needs this.
-locate_library /lib/libresolv.so && echo "-lresolv";
+locate_library /lib64/libresolv.so && echo "-lresolv";
# Look for libutil. Older FreeBSD need this for setproctitle().
-locate_library /usr/lib/libutil.so && echo "-lutil";
+locate_library /usr/lib64/libutil.so && echo "-lutil";
# For older HP-UX...
-locate_library /usr/lib/libsec.sl && echo "-lsec";
+locate_library /usr/lib64/libsec.sl && echo "-lsec";
# Look for libcap (capabilities)
-if locate_library /lib/libcap.so.1; then
- echo "/lib/libcap.so.1";
-elif locate_library /lib/libcap.so.2; then
- echo "/lib/libcap.so.2";
+if locate_library /lib64/libcap.so.1; then
+ echo "/lib64/libcap.so.1";
+elif locate_library /lib64/libcap.so.2; then
+ echo "/lib64/libcap.so.2";
else
- locate_library /usr/lib/libcap.so && echo "-lcap";
- locate_library /lib/libcap.so && echo "-lcap";
+ locate_library /usr/lib64/libcap.so && echo "-lcap";
+ locate_library /lib64/libcap.so && echo "-lcap";
fi
# Solaris needs this for nanosleep()..
-locate_library /lib/libposix4.so && echo "-lposix4";
-locate_library /usr/lib/libposix4.so && echo "-lposix4";
+locate_library /lib64/libposix4.so && echo "-lposix4";
+locate_library /usr/lib64/libposix4.so && echo "-lposix4";
# Tru64 (nanosleep)
locate_library /usr/shlib/librt.so && echo "-lrt";
# Solaris sendfile
-locate_library /usr/lib/libsendfile.so && echo "-lsendfile";
+locate_library /usr/lib64/libsendfile.so && echo "-lsendfile";
# OpenSSL
if find_func SSL_library_init ssl.o; then
|