[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] länkningsproblem med g++



On Sun, 11 Apr 1999, Kalle Andersson wrote:

> Försöker kompilera ett fltk program. 
> Headerfilerna ligger i /usr/X11R6/include och libfilen (libfltk.so.1)
> ligger i /usr/local/lib
> 
> Ändå inträffar följande:
> 
> $ g++ -L/usr/local/lib -I/usr/X11R6/include hello.cc -lfltk
> /usr/libexec/elf/ld: cannot open -lfltk: No such file or directory

Proev at bruge g++ -v. Saa kan du se lige praecist hvilke parametre "ld"
bliver kaldt med - det kan maaske give dig et hint om hvad der er galt.

Evt. kan du ogsaa specificere filen direkte, altsaa put
/usr/local/lib/libfltk.so.1 ind og se hvad der sker. Maaske er der et
symlink der er gaaet galt.

-- 
==============================================================================
Erwin Andreasen   Herlev, Denmark <sslug@sslug>          UNIX System Programmer
<URL:http://www.andreasen.org>              <*>         (not speaking for) DDE
==============================================================================



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *