Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2008 14:48:44 -0600
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        "Jason C. Wells" <jcw@highperformance.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: openoffice package requires libstdc++.so.6
Message-ID:  <478927AC.8020907@math.missouri.edu>
In-Reply-To: <478918D2.905@highperformance.net>
References:  <478918D2.905@highperformance.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Install the package/port gcc42.

I have said this to the list before.  Surely any port that uses gcc4.2 
or such like HAS to have it listed as RUN_DEPENDS or LIB_DEPENDS as well 
as BUILD_DEPENDS.  And this needs to be fixed at the ports/Mk level. 
How can the naive user be expected to know to install gcc42.  (Even if 
you are running FreeBSD 7.x, this comes an issue with any port that uses 
FORTRAN.)


Jason C. Wells wrote:
> The prebuilt package openoffice-2.3.1 requires libstdc++.so.6.  FreeBSD 
> 6.3 has libstdc++.so.5.
> 
> I have always rolled my own and am unfamiliar with packages.  This 
> particular package would appear to have been built against a librart 
> version that is not installed on FreeBSD-6.  If I have somehow erred, 
> please point out my error.
> 
> Is this package buggy?
> 
> Shouldn't packages link against /usr/lib/libstdc++.so and so follow the 
> softlinks that the system provides?
> 
> On my system:
> 
> $ openoffice.org-2.3.1-scalc
> /libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required 
> by "javaldx"
> /libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required 
> by "pagein"
> /libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required 
> by "soffice.bin"
> 
> 
> $ ls -la /usr/lib/libstdc++*
> -r--r--r--  1 root  wheel  1585324 Jan 11 05:55 /usr/lib/libstdc++.a
> lrwxr-xr-x  1 root  wheel       14 Jan 11 05:55 /usr/lib/libstdc++.so -> 
> libstdc++.so.5
> -r--r--r--  1 root  wheel   803928 Jan 11 05:55 /usr/lib/libstdc++.so.5
> -r--r--r--  1 root  wheel  1577098 Jan 11 05:55 /usr/lib/libstdc++_p.a
> 
> Thanks,
> Jason
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?478927AC.8020907>