09-24-2003
configure script can't find a library
I installed libxml2 library from source and it installed itself in
/usr/local/lib
i added /usr/local/lib to ld.so.conf and ran a ldconfig ( as root )
then i tried to compile tablix-0.0.3 wich does require the installed version
of libxml2
i ran ./configure ( as normal user ) and i get the following error
checking for xml2-config... (cached) no
checking for libxml - version >= 2.4.3... no
*** The xml2-config script installed by LIBXML could not be found
*** If libxml was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XML2_CONFIG environment variable to the
*** full path to xml2-config.
so nothing of the new library is found. What can i try next?
10 More Discussions You Might Find Interesting
1. Programming
I am writing a c program with the use of the curses but when i tried compiling i get the error that the curses library is not found
the header file i included is curses.h
and th command i typed is
gcc -o chat chat.c -lcurses
1) Is this correct in linux?
2) found a file libncurses.so.5.2
... (1 Reply)
Discussion started by: xenon830
1 Replies
2. HP-UX
I started building a program which connects to MySQL and got:
ld: Can't find library or mismatched ABI for -lmysqlclient_r
I tried building my own MySQL and use these, and it worked but then it gave me:
ld: Can't find library or mismatched ABI for -lrt
But librt is a system library (and... (1 Reply)
Discussion started by: selalerer
1 Replies
3. Solaris
While installing amanda server,i got the following error
## checking lex output file root... configure: error: cannot find output from flex; giving up.
when i execute
# which lex
i got /usr/ccs/bin/lex
setting the pathg does not work too
After this i tried intalling flex in my /opt... (0 Replies)
Discussion started by: bullet350
0 Replies
4. Linux
Hi,
I am working with red hat Linux and i want to install one program but I am getting the error
This product requires the GNU C++ Runtime Library (libstdc++-libc6.2-2.so.3)
or later. Your system must be upgraded before installation can proceed.
So please tell me how can i remove this... (2 Replies)
Discussion started by: smartgupta
2 Replies
5. HP-UX
if I would like to develop application on HP UX ,where can I serarch the library and API ,like develop windows application with MSDN
thanks (1 Reply)
Discussion started by: alert0919
1 Replies
6. Linux
Hello,
./configure script fails to configure libsf. Please check the following last few lines of configure script error.
checking for db1/db.h... no
checking for db.h... yes
checking for dbopen in -ldb1... no
configure: error: No libdb? No libsf.
But find command shows the following; ... (4 Replies)
Discussion started by: vectrum
4 Replies
7. HP-UX
I'm trying to run a file name remote build which is to build a package on a target server. My target server is HP-UX-itanium 64 bit. When I run the remote build, somehow it cannot find `libncurses.so` or maybe it looks for the `libncurses.so` at some other location. This only happens on HP-UX... (3 Replies)
Discussion started by: fikriemuthafa
3 Replies
8. 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
9. UNIX for Advanced & Expert Users
Hello, I have been trying to compile Gimp. To do so, I had to compile its dependencies Babl and Gegl. After doing so I use this command to try to compile it: ./configure --prefix=/media/34GB/Arquivos-de-Programas-Linux/Gimp-2.6.0/... (6 Replies)
Discussion started by: colt
6 Replies
10. UNIX for Beginners Questions & Answers
I am trying to decode "configure" script for "bluez" package as far as how are "configure" options for cross-compiling passed to libtoool or GCC to build C++ library.
As far as I can tell the "configure" triplet analysis (case) has no options to analyze anything with "linux" in it ,therefore... (5 Replies)
Discussion started by: anne
5 Replies
LEARN ABOUT REDHAT
ldconfig
ldconfig(8) System Manager's Manual ldconfig(8)
NAME
ldconfig - configure dynamic linker run-time bindings
SYNOPSIS
ldconfig [OPTION...]
DESCRIPTION
ldconfig creates the necessary links and cache (for use by the run-time linker, ld.so) to the most recent shared libraries found in the
directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/usr/lib and /lib). ldconfig
checks the header and file names of the libraries it encounters when determining which versions should have their links updated. ldconfig
ignores symbolic links when scanning for libraries.
ldconfig will attempt to deduce the type of ELF libs (ie. libc 5.x or libc 6.x (glibc)) based on what C libraries if any the library was
linked against, therefore when making dynamic libraries, it is wise to explicitly link against libc (use -lc). ldconfig is capable of
storing multiple ABI types of libraries into a single cache on architectures which allow native running of multiple ABIs, like
ia32/ia64/x86_64 or sparc32/sparc64.
Some existing libs do not contain enough information to allow the deduction of their type, therefore the /etc/ld.so.conf file format allows
the specification of an expected type. This is only used for those ELF libs which we can not work out. The format is like this
"dirname=TYPE", where type can be libc4, libc5 or libc6. (This syntax also works on the command line). Spaces are not allowed. Also see
the -p option.
Directory names containing an = are no longer legal unless they also have an expected type specifier.
ldconfig should normally be run by the super-user as it may require write permission on some root owned directories and files. If you use
-r option to change the root directory, you don't have to be super-user though as long as you have sufficient right to that directory tree.
OPTIONS
-v --verbose
Verbose mode. Print current version number, the name of each directory as it is scanned and any links that are created.
-n Only process directories specified on the command line. Don't process the trusted directories (/usr/lib and /lib) nor those speci-
fied in /etc/ld.so.conf. Implies -N.
-N Don't rebuild the cache. Unless -X is also specified, links are still updated.
-X Don't update links. Unless -N is also specified, the cache is still rebuilt.
-f conf
Use conf instead of /etc/ld.so.conf.
-C cache
Use cache instead of /etc/ld.so.cache.
-r root
Change to and use root as the root directory.
-l Library mode. Manually link individual libraries. Intended for use by experts only.
-p --print-cache
Print the lists of directories and candidate libraries stored in the current cache.
-c --format=FORMAT
Use FORMAT for the cache file. Choices are old, new and compat (the default).
-? --help --usage
Print usage information.
-V --version
Print version and exit.
EXAMPLES
# /sbin/ldconfig -v
will set up the correct links for the shared binaries and rebuild the cache.
# /sbin/ldconfig -n /lib
as root after the installation of a new shared library will properly update the shared library symbolic links in /lib.
FILES
/lib/ld-linux.so.* execution time linker/loader
/etc/ld.so.conf File containing a list of colon, space, tab, newline, or comma spearated directories in which to search for libraries.
/etc/ld.so.cache File containing an ordered list of libraries found in the directories specified in /etc/ld.so.conf. This file is not
in human readable format, and is not intended to be edited.
lib*.so.version shared libraries
SEE ALSO
ldd(1), ld.so(8).
BUGS
ldconfig, being a user process, must be run manually and has no means of dynamically determining and relinking shared libraries for use by
ld.so when a new shared library is installed.
AUTHORS
Andreas Jaeger. Manual page written by David Engel and Mitch D'Souza.
30 October 2000 ldconfig(8)