Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2002 18:55:00 +0000
From:      David Larkin <David.Larkin@DJL.co.uk>
To:        mharo@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: FreeBSD Port: analog-5.1,1
Message-ID:  <3C5ED904.BC882400@DJL.co.uk>
References:  <3C5E988B.6F6D4C75@DJL.co.uk> <3C5EAEA8.5DA9B43B@DJL.co.uk> <3C5EC24F.1CE7C525@DJL.co.uk> <3C5EC343.234EF4E@DJL.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
I hunted around the mailing lists and I tried the following

/usr/local/sbin/portinstall -fi png
portupgrade -fr png -x '>=png'

I get a file libpng.so.5

When I try to run analog  ......

eagle#  /usr/local/bin/analog
/usr/libexec/ld-elf.so.1: Shared object "libpng.so.4" not found

I then try

eagle# ln libpng.so.5 libpng.so.4

eagle# /usr/local/bin/analog
libpng warning: Application was compiled with png.h from libpng-1.0.10
libpng warning: Application  is  running with png.c from libpng-1.2.1
gd-png:  fatal libpng error: Incompatible libpng version in application and
library
Segmentation fault (core dumped)
eagle#

Can you suggest anything ?

Thanks
Dave



> Just for fun I tried the following
>
> eagle# cp libpng.so.5 libpng.so.4
> eagle# ls -al *png*
> -r--r--r--  1 root  wheel  164490 Feb  4 17:06 libpng.a
> lrwxr-xr-x  1 root  wheel      11 Feb  4 17:06 libpng.so -> libpng.so.5
> -r--r--r--  1 root  wheel  148439 Feb  4 17:20 libpng.so.4
> -r--r--r--  1 root  wheel  148439 Feb  4 17:06 libpng.so.5
> eagle# /usr/local/bin/analog
> libpng warning: Application was compiled with png.h from libpng-1.0.10
> libpng warning: Application  is  running with png.c from libpng-1.2.1
> gd-png:  fatal libpng error: Incompatible libpng version in application and
> library
> Segmentation fault (core dumped)
>
> > I'm still having problems with this port.
> >
> > It seemed to build OK but once I configured analog.cnf and ran it it
> > crashed complaining about libpng
> > I had installed this previously and it was an old version.
> >
> > I have 'deinstalled' both png & analog and then tried to build analog
> > again.
> >
> > During the build it creates a file
> > /usr/local/lib/libpng.so.5
> >
> > 579:eagle{david}% ls -al *png*
> > -r--r--r--  1 root  wheel  164490 Feb  4 17:06 libpng.a
> > lrwxr-xr-x  1 root  wheel      11 Feb  4 17:06 libpng.so -> libpng.so.5
> > -r--r--r--  1 root  wheel  148439 Feb  4 17:06 libpng.so.5
> >
> > but the make says
> >
> > /usr/libexec/elf/ld: warning: libpng.so.4, needed by
> > /usr/local/lib/libgd.so, no
> > t found (try using -rpath or -rpath-link)
> > ***
> > ***IMPORTANT: You must read the licence before using analog
> > ***
> >
> > and when I try to run the program I get 83:eagle{david}%
> > /usr/local/bin/analog
> > /usr/libexec/ld-elf.so.1: Shared object "libpng.so.4" not found
> >
> > Any help would be appreciated
> >
> > Dave
> >
> > > I ftp'd a new copy of ports and then  built analog  OK.
> > >
> > > Still a little confused as to where packages can now be found though
> > >
> > > ;-)
> > >
> > > > Hi,
> > > > I'm struggling to download analog-5.1
> > > >
> > > > It is a while since I installed ports / packages , but from what I
> > > > remember there were 2 ways
> > > >
> > > > cd /usr/ports/category/application
> > > > make
> > > >
> > > > or find a package package.tgz
> > > >
> > > > pkg_add package.tgz
> > > >
> > > > I'm running
> > > >
> > > > FreeBSD eagle 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49
> > > > GMT 2001     jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC  i386
> > > >
> > > > when I try the cd /usr/ports method it can't find anything on ftp, I
> > > > guess the version
> > > > has changed since I installed FreeBSD.
> > > >
> > > > when I look on freebsd.org ports I find a 'Download'  which appears to
> > > > contain
> > > > the package, but I find no .tgz anywhere.
> > > >
> > > > Do I need to ftp the whole directory ?
> > > >
> > > > Should I forget about ports and just download the source and compile ?
> > > >
> > > > Sorry, if I sound a little confused.
> > > >
> > > > Thanks in advance
> > > > Dave


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C5ED904.BC882400>