|
|
Hack Tool Repository
Amap |
|
During compilation you might get the error: gcc -O2 -o amap amap.c amap-lib.o -lpcre -L./pcre-3.9/ -I./pcre-3.9/ -lssl -lcrypto -L/usr/local/lib -L/usr/local/lib -I/usr/local/include -DOPENSSL -DAMAP_PREFIX="/usr/local" /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func: dso_dlfcn.c:(.text+0x27d): undefined reference to `dlsym dso_dlfcn.c:(.text+0x2f9): undefined reference to `dlerror /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var: dso_dlfcn.c:(.text+0x36d): undefined reference to `dlsym dso_dlfcn.c:(.text+0x3e1): undefined reference to `dlerror /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload: dso_dlfcn.c:(.text+0x44c): undefined reference to `dlclose /usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load: dso_dlfcn.c:(.text+0x4f5): undefined reference to `dlopen dso_dlfcn.c:(.text+0x546): undefined reference to `dlclose dso_dlfcn.c:(.text+0x56f): undefined reference to `dlerror collect2: ld returned 1 exit status make: *** [amap] Error 1
Add the following to the XLIBS variable in the Makefile: by marc at 2007-12-31 15:48:48 |
