Changes between Version 2 and Version 3 of FindingSharedLibraries
- Timestamp:
- Jan 27, 2009, 1:40:32 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FindingSharedLibraries
v2 v3 10 10 directory libXXX.so resides in) to the file /etc/ld.so.conf and then run 'ldconfig'. This will ensure that programs 11 11 can find the library regardless of their environment, even !MapServer when run as a cgi. 12 2. You could also use "setenv LD_LIBRARY_PATH /usr/lib:/usr/local/lib" to add the library path. Or something similar 12 2. You could also use: 13 {{{ 14 setenv LD_LIBRARY_PATH /usr/lib:/usr/local/lib 15 }}} 16 to add the library path. Or something similar 13 17 with export for bash. However, doing this for your account will not generally affect "mapserv" when run via CGI. To 14 18 publish an environment variable for cgi programs via Apache you can usually put something like: