From: "Jason C. Wells" on
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(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Stephen Montgomery-Smith on
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(a)freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
>
>

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Garrett Cooper on
On Jan 12, 2008, at 12:48 PM, Stephen Montgomery-Smith wrote:

> 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


Did you install OpenOffice from a package? libstdc++.so.6 comes with
gcc-3.4+ by default, so why isn't your system finding it...?

Some piece of vital information appears to be missing from your
problem statement though, like...

1. Did you do an clean install of FreeBSD 6.x or is it an upgrade? If
an upgrade, from what version are you upgrading?
2. Where did you get the package from?

-Garrett
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Thomas-Martin Seck on
* Garrett Cooper <youshi10(a)u.washington.edu> [gmane.os.freebsd.devel.ports]:

>> 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
>
>
> Did you install OpenOffice from a package? libstdc++.so.6 comes with
> gcc-3.4+ by default, so why isn't your system finding it...?

Well, because it's not part of the base system on 6.x and the OP does
not have the required gcc variant installed because it was not pulled in
as a dependency of the Ooo package.

Currently USE_GCC only sets a build but not a runtime dependency. Thus
every package of a port that requires a non-default gcc runtime
environment (i.e. libstdc++ and/or libgfortran) lacks this dependency
information and is thus unusable.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Stephen Montgomery-Smith on
Thomas-Martin Seck wrote:
> * Garrett Cooper <youshi10(a)u.washington.edu> [gmane.os.freebsd.devel.ports]:
>
>>> 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
>>
>> Did you install OpenOffice from a package? libstdc++.so.6 comes with
>> gcc-3.4+ by default, so why isn't your system finding it...?
>
> Well, because it's not part of the base system on 6.x and the OP does
> not have the required gcc variant installed because it was not pulled in
> as a dependency of the Ooo package.
>
> Currently USE_GCC only sets a build but not a runtime dependency. Thus
> every package of a port that requires a non-default gcc runtime
> environment (i.e. libstdc++ and/or libgfortran) lacks this dependency
> information and is thus unusable.

And as I said earlier in my (unfortunately top-posted) message, this
could be easily fixed by something like

perl -i.bak -lne \
'print;print if \!/^\#/ && s/\bBUILD_DEPENDS/RUN_DEPENDS/g' \
/usr/ports/Mk/bsd.gcc.mk
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
 |  Next  |  Last
Pages: 1 2
Prev: glib20, UTF-8 and string collation
Next: Balance - Port