use library

use library

Post by Michael Ransbu » Thu, 29 Jul 1999 04:00:00


I just downloaded libftp v 5.8, which is a c library with ftp functions in
it. It is the first time I use a library which is not part of the standard
library and unfortunately it does not come with install informations.

My basic question is: How can I use this library?

I tried to call "make" in the library dir, but this produced an error
message, so I'm not sure if that was right.

I'm on RedHat 6.0.

Any help on using this library would be greatly appreciated.

Curious? Look at


1. ld -problems finding/using libraries

Hello all,

I am trying to build a piece of software and I am running into problems. The software compiles alright, but falls down at the linking stage.
I have Slackware v2.3 with kernel 1.2.8 and am using ld v. (with BFD 2.5) and v.1.7.3
During the make process I get the following error:
ld: Output file requires shared library `'
gcc: Internal compiler error: program ld got fatal signal 6
make: *** [dp_car] Error 1

Also, when I add '-L/lib -lgr' into the Makefile I get this error:
ld: cannot open -lgr: No such file or directory
make: *** [dp_car] Error 1

I have in /lib together with a static link to it. The command 'file' gives me this: Linux/i386 demand-paged executable (QMAGIC)
I have only recently built this copy of libgr from its source files (hoping this would get rid of my problem) so I don't think there is anything wrong with the library itself.

I have even tried moving and the link to another directory (/lib/bakup) and then tried running other programs. E.g. after moving the library I tried to run xv and got : 'xv: cannot find' which disappeared when the files had been replaced.  This makes me more confused as to why one application can make use of and ld cannot find it for use with another.

I have looked in the GCC-FAQ but have not been able to find anything of much use.  There was one part that stated that if you were using libc.4.4.* or greater then you also needed which could be installed from  I tried this but still did not get a library called

I have seen several postings to this newsgroup from people who are having/have had similar problems to this, and I would be very grateful for any suggestions.

Many thanks in advance
Steven Reid

2. HELP! Gateway 2000 X-windows

3. Using libraries created on a SCO OpenServer on UnixWare

4. accton question

5. using libraries in shell scripting

6. S3-Virge

7. using library files w/o installing

8. X question

9. Using libraries built with AIX C++ with another compiler

10. using libraries in shell scripting

11. Using static libraries and shared libraries in same program?

12. Problem linking when using C++ library in a library on Solaris

13. Using a dynamic library from another dynamic library