06-24-2011
unix Library path variables.
Library path variables.
I need to know the library rnvironment variable in linux. Ie, I install zlib directory in the custom path /usr/local/mylib and give --enable-zlib in the ffmpeg install, ffmpeg should check for the zlib libraries in the path /usr/local/mylib. Currently it checks /usr/lib if 32 bit OS and in /usr/lib64/ if 64 bit. So, I need to set the library Env path, so that it will set to /usr/local/mylib during the compilation time.
Eg, like this.
PKG_CONFIG_PATH=/usr/lib/pkgconfig
export PKG_CONFIG_PATH
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do you get an application to use an alternate library?
Dave:confused: (2 Replies)
Discussion started by: nucca
2 Replies
2. HP-UX
Hi Everyone
I have written an installer dependant on several shared libraries. I am attempting to strip the full path from these dependant libraries using the chatr command via a script file but am having no success. Running ldd on the intaller exe fails with the following error. Cant open... (4 Replies)
Discussion started by: C3000
4 Replies
3. Shell Programming and Scripting
Hi all,
This is probably a basic question. I had installed a stand-alone library called szip in my home directory, as I don't have the necessary root permission.
I tried to set an environment for both include and lib files in my .cshrc script as
setenv /home/szip/lib
setenv... (3 Replies)
Discussion started by: alamcheril
3 Replies
4. UNIX for Advanced & Expert Users
Is there something which is an alternative to the variable LD_LIBRARY_PATH?
The behaviour of this variable is that the path specified here will be checked before checking usual paths. But I want to have some folders checked for shared libraries after the usual paths. i.e usual paths have to... (3 Replies)
Discussion started by: bbala
3 Replies
5. Shell Programming and Scripting
I don't know how to put this. However here is the problem.
While executing command remotely on a Unix machine i get an error
/usr/lib/hpux32/dld.so: Unable to find library 'libxerces-c.sl.21'.
However when i execute the command on the remote machine locally. it works fine.
Also i have... (2 Replies)
Discussion started by: suraj.sheikh
2 Replies
6. UNIX for Advanced & Expert Users
Hello,
Any inputs about this one?
/usr/lib/dld.sl: Can't find path for shared library: libintl.sl
/usr/lib/dld.sl: No such file or directory
: Core file for 32-bit PA-RISC application
: /tmp/usr/local/bin/git saved to /etc/core.git.
ABORT instruction (core dumped)
bash-4.0# echo... (3 Replies)
Discussion started by: SystemAddict
3 Replies
7. Programming
Hello,
How to set up the path for downloaded C/C++ libraries (or, header files) so that they can be included like system headers (stdio.h or iostream)? The libraries/headers are from a package containing different folders each has different sets of headers and put in... (1 Reply)
Discussion started by: yifangt
1 Replies
8. AIX
My product has 2 libraries say "x & y".
x depends on y.
During the installation of my products package, user will be prompted for his own location to copy my product libraries.
Installation will copy libraries "x & y" and create my product specific ENV variable say "MYPATH" pointing to User... (4 Replies)
Discussion started by: erra_krishna
4 Replies
9. Programming
Hello,
I am always confused about adding library path for ./configure when compiling software under Linux Debian based OS. For example the README of the software tells
--with-boost=PATH specify directory for the boost header files
--with-mpi=PATH specify prefix directory for... (4 Replies)
Discussion started by: yifangt
4 Replies
10. AIX
Can somebody help me too identify full path to socket library on AIX? Cannot find anything
Thanks
for contribution (2 Replies)
Discussion started by: digioleg54
2 Replies