I did not test this myself, but adding -lz to the LFDLAGS in pnmtopng linking
command or removing bogus empty -L before existing -lz switch
might help to work around the problem. The bug is triggered by the code in ld
which tries to determine what other shared libraries binary should depend on in
addition to ones specified on the linker command line. If one specifies all the
libraries explicitly on whe command line when linking a binary, the buggy code
section should be skipped and the problem should disappear. 

On 19-Jul-2001 Andrew Kenneth Milton wrote:
> +-------[ Andrew Kenneth Milton ]----------------------
>| +-------[ Manfred Antar ]----------------------
>| | The port netpbm builds and installs fine on current.
>| | When trying to build the docs in /usr/docs the program peps calls
>| | /usr/local/bin/pnmtopng
>| | This is from the netpbm port.
>|
>| I don't think it's isolated to netpbm... trying to build the latest
>| xawtv (not from ports)...
> 
> I rebuilt libpng and libxpm from ports and I can link...
> perhaps rebuild some older libs in the ldd list.
> 
> -- 
> Totally Holistic Enterprises Internet|                      | Andrew Milton
> The Internet (Aust) Pty Ltd          |                      |
> ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
> PO Box 837 Indooroopilly QLD 4068    |[EMAIL PROTECTED]| 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message

----------------------------------
E-Mail: Alexander Kabaev <[EMAIL PROTECTED]>
Date: 19-Jul-2001
Time: 07:37:04
----------------------------------

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to