swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] Missing -lpng on OS X build


From: Bill Northcott
Subject: Re: [Swarm-Support] Missing -lpng on OS X build
Date: Sat, 26 Apr 2003 17:25:07 +1000

Have a look around line 21 of 
/usr/local/swarm2.1/etc/swarm/makefile.common you should see a definition 
of the location of the png library.
Is the library (libpng12.dylib) where the definition says it ?

The package installer on the Swarm web site will install the library at 
/usr/local/png_1.2.5/lib.
If you have it somewhere else, you need to change that line in 
makefile.common to show your location.

Bill Northcott

address@hidden wrote on 26/04/0103 05:29:59 AM:

> Hello,
> I am trying to build heatbugs on Mac OS X 10.2.5. It fails with
> a set of path
> warnings which seem to have been documented before on this list, but
> with one error
> (Can't find -lpng) for which I can't seem to find a workaround in
> previous postings. My
> DYLD_LIBRARY_PATH contains the path to the libpng directory as
> installed by the
> package.  The tail of the error message is:-

> /usr/bin/ld: warning -L: directory name
> (/Users/billn/Public/Swarm/swarm/macosx/
> swarmx/build/src/defobj) does not exist
> /usr/bin/ld: warning -L: directory name
> (/Users/billn/Public/Swarm/swarm/macosx/
> swarmx/build/src/collections) does not exist
> /usr/bin/ld: warning -L: directory name
> (/Users/billn/Public/Swarm/swarm/macosx/
> swarmx/build/src/misc) does not exist
> /usr/bin/ld: warning -L: directory name
> (/Users/billn/Public/Swarm/swarm/macosx/
> swarmx/build/libobjc) does not exist
> /usr/bin/ld: warning -L: directory name
> (/Users/billn/Public/Swarm/libpng-1.2.5/dst/
> usr/local/lib) does not exist
> /usr/bin/ld: can't locate file for: -lpng
> collect2: ld returned 1 exit status
> make: *** [heatbugs] Error 1

> I would appreciate it if someone could tell me what I need to do to fix
> this.

> Thanks,
> Surajit Nundy

> _______________________________________________
> Support mailing list
> address@hidden
> http://www.swarm.org/mailman/listinfo/support


reply via email to

[Prev in Thread] Current Thread [Next in Thread]