openoffice package requires libstdc++.so.6

Jason C. Wells jcw at highperformance.net
Sat Jan 12 11:45:06 PST 2008


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


More information about the freebsd-ports mailing list