General :: How To Configure Library Path
Jun 1, 2010
i'm using slackware 13.0 with glib2-2.18.4-i486-1 and gtk+2-2.14.7-i486-4 i need to install newer gtk+2, i've installed glib-2.25.7, but in my home directory, so how do i configure the gtk+2, so it points to the glib library path in my home directory. i've tried this command
Code:
./configure BASE_DEPENDENCIES_LIBS=/home/sadlie/.testapp/usr/lib
but it still comes with the same error message
Code:
Requested 'glib-2.0 >= 2.23.6' but version of GLib is 2.18.4
Requested 'atk >= 1.29.2' but version of Atk is 1.26.0
View 3 Replies
ADVERTISEMENT
Aug 31, 2010
I'm writing an application and want to make possible to compile it with or without an optional module. This module requires perl library to be compiled, so I want to check presence of it in 'autoconf'.
The problem exists because perl library is placed in 'non-standart' location itself (like a /usr/lib64/perl5/CORE/libperl.so). So when I try to run configure (with AC_CHECK_LIB or AC_SEARCH_LIBS), it cannot find and link libperl.so in its test.
Trying to pass ./configure CFLAGS=-L/usr/lib64/perl5/CORE/ or ./configure LDFLAGS=-L/usr/lib64/perl5/CORE/
How can I define a location to search for configure's tests?
View 1 Replies
View Related
Jun 9, 2010
I would like to set run time library path in my makefile, so that my exe should search run time libraries in that path when executed. How to set this in makefile?
View 3 Replies
View Related
Jan 10, 2010
I was wondering if there is an argument I can pass to the configuration file to have it use a library from a non-standard path to compile with - for example I would like it to use my perl located in /scratchbox/users/jeff91/usr/bin/perl instead of the standard /usr/bin/perl
View 3 Replies
View Related
Aug 4, 2011
./configure script fails to configure libsf. Please check the following last few lines of configure script error.
But find command shows the following;
It seems the file libdb does exist. man dbopen displays man page for dbopen. I also tried to ln -s /usr/lib/libdb.a and libdb.so /lib dir but all were in vain.
View 6 Replies
View Related
Feb 17, 2011
I installed a library to the /usr/local/ prefix in Linux using ./configure && make && make install. What environment variables do I need to set in order for the linker and compiler to search these new library and header paths?
View 1 Replies
View Related
Dec 4, 2010
First time trying this. After trying to upgrade Mozilla, I received a warning that my GTK+ library needed to be upgraded from 2.8 to 2.10 or newer.
In trying to upgrade my GTK+ library following these instructions, I got to the ./configure step but then received the warning bash: ./configure: No such file or directory.
I've got an EEE PC, running Linux (i686, I believe). I'm not sure what additional information to provide.
View 5 Replies
View Related
Feb 14, 2011
In the process of installing DDD, I get the following error:The X11 library could not be found. Please use the configure options '--x-includes=DIR' and '--x-libraries=DIR' to specificy the X location.I did a "yum install libx11-devel". I was told that the right package was installed
View 1 Replies
View Related
Jun 3, 2011
Whenever I need to install something on Xentos, I found rpm or tar balls. I want to know what is difference between two. Also if I need to install something for php but I have installed on different folder, how can i give that php path while using configure command in newly downloaded tar.gz package ?
View 2 Replies
View Related
Jul 9, 2009
I am facing the following error while running SplitOff.exe in machine 172.24.130.245 :
Error :
ld.so.1: SplitOff.exe: fatal: libstdc++.so.2.10.0: open failed: No such file or directory.This file is avilabe in ap/local/lib path.
how to include the path of exe in the ld library path [only System admin has permission]
View 10 Replies
View Related
Jan 9, 2011
I'm writing an application with a plugin architecture and would like modify (specifically add to) the dynamic library search path while the main executable is running.
The plugin paths are not known until the application is running so I can't set LD_LIBRARY_PATH ahead of time.
My understanding (although I haven't tested it) is that the executable will only parse the LD_LIBRARY_PATH once, early on, so modifying this environment variable at runtime will have no effect.
(Note - on Windows the solution is to modify the PATH environment variable)
I know it's possible to specify the full path to load a dynamic library, and this would work if the plugin(s) only had a single library to load, but some of them will have a bunch of libraries with their own inter-dependencies, so I'd like the plugin folder(s) to get added to the search path to pick up the dependant libs.
View 8 Replies
View Related
Apr 28, 2010
I'd like to get path of one library to link it dynamically in my program. Probobly the best way would be to add macro to my configure.ac file.
View 2 Replies
View Related
Aug 5, 2011
I am using json library for my application. I have mentioned the path where the library resides in the LD_LIBRARY_PATH. while compiling i have given the following commands.
gcc -o pafitest pafi_test_app.o -ljson
but still i am getting this following error.
/usr/bin/ld: cannot find -ljson
collect2: ld returned 1 exit status
View 1 Replies
View Related
Jan 16, 2011
I found the following function in /etc/profile file.
[Code]...
1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??
2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH
View 14 Replies
View Related
Nov 9, 2010
I have downloaded PGF for latex in my home directory.[URL]..How can I configure latex to access to the library in my home?
View 3 Replies
View Related
Nov 4, 2010
I'm trying to install gazebo but I would like the general solution. When I type "./configure" I get the error: "could not find gdal_priv.h" or sometimes "could not find gdal library" But I have it on my computer. It is: usr/include/gdal/gdal_priv.h This means configure is not looking in the right place for this library. Where is the path stored, please? I tried reading the configure file but I could not find it. I tried to replace all instances of gdal_priv.h by gdal/gdal_priv.h but this did not work either. I tried adding /usr/include/gdal to all the env PATH_something_or_other I could see. how to tell to ./configure where to look for libraries. What file(s) should I edit? (I tried config.status, because it contains /usr/include stuff). The files I have are:
[code]...
View 2 Replies
View Related
Feb 18, 2011
How to fix this error :
Code:
checking for Qt4... no
configure: error: The QtCore library >= 4.3.0 could not be found.
View 3 Replies
View Related
May 8, 2010
configure: error: readline library not found If you have readline already installed, see config.log for details on the failure. It is possible the compiler isn't looking in the proper directory. Use --without-readline to disable readline support. Now I tried to yum install readline-devel and the result was failure as below:
Quote:
[root@localhost ~]# yum install readline-devel-6.0-3.fc12.i686.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
[code]....
So I am thinking that maybe I have to tell configure where my readline libraries are. From the above, it looks like readline-6.0 is not on my computer, even though I went through the configure/build/install process for it.
View 3 Replies
View Related
Nov 29, 2009
I'm using NoMachine's FreeNX client on my Vista PC to access my Fedora 12 box. Mostly works a real peach and I'm very impressed with it. But...... Working through some of the stuff I'd "like" it to do I'm struggling with enabling sound.I've enabled the Multimedia setting in the NX Client. I've loaded via Add/Remove Software,
Sound support with ESD
gg2-esound-2.3.0-13.fc12 (i686)
PulseAudio EsounD dameon compatibility script
[code]...
View 1 Replies
View Related
Aug 5, 2011
After installing texlive I got this message:
"add /usr/local/texlive/2011/bin/i386-linux to your PATH for current and future sessions."
By default the result of echo $PATH in ubuntu 10.04 LTS is:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin/bin:/usr/games
In my .bashrc file, exactly where should I insert the suggested PATH? Does it matter where it is put (please keep security hole issues also while answering this question). For example will it be OK if I add this line at the end of my .bashrc file:
/usr/local/texlive/2011/bin/i386-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin/bin:/usr/games
What is the correct position where texlive PATH should go. (I realized simply adding the above line, /usr/local/texlive/2011/bin/i386-linux at the end of my .bashrc is not the correct way to do because this gives rise to executing common commands live vi or xemacs etc(PATH clash, command not found in suggested PATH)). Another doubt is related to the kernel, the command sudo uname -a gives me:
linux myname-desktop 2.6.32-33-generic #71 Ubuntu SMP wed Jul 20 17:31:40 UTC 2011 i686 GNU/Linux
Do you think the downloaded texlive will work since this relevant to i386-linux?
View 2 Replies
View Related
Jul 19, 2010
I am not all that experienced with Linux configure scripts for building source. I downloaded a vmime library source package. One of the dependencies it has is on another open source lib - gsasl. I had no trouble building the gsasl lib.
But I cannot figure out how to let the vmime configure script know that I have built the gsasl package. Here is the end of the output of the vmime configure script:
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
[Code]...
View 1 Replies
View Related
Jul 3, 2010
My downloads are navigating to my home folder but not being deposited into the download folder as you can see by the screen shot . I don't know how to configure the correct path to the folder
View 2 Replies
View Related
Aug 2, 2010
m using fedora 13 gnome while installing glib m getting error
configure: error: *** Working zlib library and headers not found ***
View 3 Replies
View Related
Oct 8, 2010
I use this command:
Code:
find ./ -atime +360
to figure out the files that haven't been accessed since 360 days. The command above will return results like this:
Code:
/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... etc
I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:
Code:
mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext
But I want the executed command to create this path
Code:
/old-files/uploads/2010/02/
If it doesn't exist.
View 6 Replies
View Related
Feb 21, 2011
I have a program that takes a relative path as input appends it to a some path string to get the actual path.
Now all I can input is the relative path. So if I want to go one level above my input will be ../mypath.
If I know the depth of the path used internally, I can use .. as many times to go to the root directory and then give the absolute path. But suppose I do not know the depth of the directory, can I construct a relative path string such that it considers it as a relative path. One way could be to have enough .. in the path string so that I can force an absolute path for some maximum depth of path.
Is there some path string syntax that I am not aware of but can achieve this?
View 2 Replies
View Related
Apr 26, 2011
Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.
View 3 Replies
View Related
Jan 24, 2010
I have had problems trying to use ./configure when compiling fvwm95. I get a error that says this
Code:
checking for cc... no
configure: error: no acceptable cc found in $PATH
View 1 Replies
View Related
Sep 14, 2009
I have a path c:windowsackup I need this string to be changed into /windows/back/up I used the command -bash-3.00$ echo windackup | sed 's/\//g' but the output is windbackup
View 7 Replies
View Related
May 31, 2011
Current script:-
prefix=user@my-server:
find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do (
cd "$path" || exit $?
[code]....
How shall i go about changing the absolute path to relative path, so that /home/git/mirror/android/adb/ndk.git gets converted to /mirror/android/adb/ndk.git //echo <command> "$prefix$PWD.git" ?? - anything for relative path?
View 7 Replies
View Related
Jul 6, 2011
I'm pretty new at working with Linux/Unix systems, just started dealing with the CLI a week or two ago at work so bear with me if my questions/problems seem obvious, they probably aren't to me. URLs are at the bottom since I can't hyperlink to them. We have a server with Red Hat Enterprise Linux Server release 5.2 (Tikanga), x86_64 GNU/Linux. For the past few days at least (not sure when it began) every five minutes we get two messages for CPU0 and CPU1 saying: "Temperature above threshold, cpu clock throttled". Occasionally it says they are normal, so they're not *always* above the threshold but a majority the time.
The server doesn't have internet, so I interact with it and transfer files via ssh/telnet/sftp from my Windows PC to another server running Fedora release 10 (Cambridge) to the RHEL5 server. I have been trying to install lm_sensors to try and read the CPU temperature and possibly the fan speed, but every installation method has failed. I have tried installing it via the yum command I read about on this page (URL 1), but since it doesn't have internet access it didn't work. I then tried manually installing using the instructions on the lm-sensors.org page (URL 2), but whenever I try to install anything (gcc, libtool,
libsysfs) it shows:
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in '/home/user/src/libtool-2.4':
configure: error: no acceptable C compiler found in $PATH
I then looked up how to install gcc, but when I found a .rpm file of gcc 4.1.2 for RHEL5 I tried installing that like it mentions here (URL 3), but there are lots of [dependancy] programs I can't find a .rpm for as it seems they are all outdated and hard to find for RHEL5. Do I need to find the installation CD in order to install gcc? And is there any other way to check the cpu temperature or to know how to disable/fix the messages about temperature being above threshold?
View 1 Replies
View Related