Link testprogram problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ZoombyWoof

    #1

    Link testprogram problem

    Hi all. I am trying to compile the test program that comes with the
    documentation which uses the embedded server. I have run
    mysql_config --libmysqld-libs command to get the list of shared libraries
    that must be included in the linking. I use -L/usr/lib and
    -L/usr/lib/mysql in the gcc command, but /usr/bin/ld says "cannot find
    -lnss_files"
    I have all the libraries that mysql_config told me to use, I have a
    libnss_files.so in /usr/lib.

    Any ideas ?

    I run mysql 4.0.15, everything installed by RPM, on Redhat 9.0 using gcc
    3.2.2

    Thanx
    /ZoombyWoof
Working...