[opensuse] where go libstdc++.la?
make of a project fails: libtool: error: cannot find the library '/usr/lib64/../lib64/libstdc++.la' or unhandled argument '/usr/lib64/../lib64/libstdc++.la' Having trouble finding this library (in tumbleweed) (or anywhere for that manner). Ideas? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello,
In the Message;
Subject : [opensuse] where go libstdc++.la?
Message-ID : <5BC1B198.3040204@tlinx.org>
Date & Time: Sat, 13 Oct 2018 01:49:28 -0700
Linda Walsh
make of a project fails:
libtool: error: cannot find the library '/usr/lib64/../lib64/libstdc++.la' or unhandled argument '/usr/lib64/../lib64/libstdc++.la'
Having trouble finding this library (in tumbleweed) (or anywhere for that manner). Ideas?
In all distribution of openSUSE, no packages include *.la file. If you need libstdc++.la, you must compile *.src.rpm with editind it's spec.fils as follows; --- libogg.spec.orig 2018-10-13 19:36:43.475886249 +0900 +++ libogg.spec 2018-10-13 19:37:18.451885293 +0900 @@ -78,7 +78,7 @@ %install make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-devel install # remove unneeded files -rm -f %{buildroot}%{_libdir}/*.la +# rm -f %{buildroot}%{_libdir}/*.la %check make check Regards, --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Bill! You married with Computers. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello,
In the Message;
Subject : [opensuse] Re: where go libstdc++.la?
Message-ID : <87y3b29lnd.wl-nomiya@galaxy.dti.ne.jp>
Date & Time: Sat, 13 Oct 2018 19:38:30 +0900
Masaru Nomiya
Hello,
In the Message;
Subject : [opensuse] where go libstdc++.la? Message-ID : <5BC1B198.3040204@tlinx.org> Date & Time: Sat, 13 Oct 2018 01:49:28 -0700
Linda Walsh
has written:
make of a project fails:
libtool: error: cannot find the library '/usr/lib64/../lib64/libstdc++.la' or unhandled argument '/usr/lib64/../lib64/libstdc++.la'
Having trouble finding this library (in tumbleweed) (or anywhere for that manner). Ideas?
In all distribution of openSUSE, no packages include *.la file. If you need libstdc++.la, you must compile *.src.rpm with editind it's spec.fils as follows;
--- libogg.spec.orig 2018-10-13 19:36:43.475886249 +0900 +++ libogg.spec 2018-10-13 19:37:18.451885293 +0900 @@ -78,7 +78,7 @@ %install make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-devel install # remove unneeded files -rm -f %{buildroot}%{_libdir}/*.la +# rm -f %{buildroot}%{_libdir}/*.la
%check make check
Sorry, this patch is not sufficient. That is; --- libogg.spec.orig 2018-10-13 19:36:43.475886249 +0900 +++ libogg.spec 2018-10-13 19:42:22.915876966 +0900 @@ -78,7 +78,7 @@ %install make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-devel install # remove unneeded files -rm -f %{buildroot}%{_libdir}/*.la +# rm -f %{buildroot}%{_libdir}/*.la %check make check @@ -98,6 +98,7 @@ %{_docdir}/%{name}-devel %{_includedir}/ogg %{_libdir}/libogg.so +%{_libdir}/*.la %dir %{_datadir}/aclocal %{_datadir}/aclocal/ogg.m4 %{_libdir}/pkgconfig/ogg.pc Regards, --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Bill! You married with Computers. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/13/2018 3:44 AM, Masaru Nomiya wrote:
Sorry, this patch is not sufficient.
That is;
--- libogg.spec.orig 2018-10-13 19:36:43.475886249 +0900 +++ libogg.spec 2018-10-13 19:42:22.915876966 +0900 @@ -78,7 +78,7 @@ %install make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-devel install # remove unneeded files -rm -f %{buildroot}%{_libdir}/*.la +# rm -f %{buildroot}%{_libdir}/*.la
%check make check @@ -98,6 +98,7 @@ %{_docdir}/%{name}-devel %{_includedir}/ogg %{_libdir}/libogg.so +%{_libdir}/*.la %dir %{_datadir}/aclocal %{_datadir}/aclocal/ogg.m4 %{_libdir}/pkgconfig/ogg.pc
Regards,
Thanks! It seems to have something to do with static linking. I.e. by default it tries static and dynamic objects by default. Only by put in "disable-static" did the .la go away. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Sat, 13 Oct 2018, Linda Walsh wrote:
make of a project fails:
libtool: error: cannot find the library '/usr/lib64/../lib64/libstdc++.la' or unhandled argument '/usr/lib64/../lib64/libstdc++.la'
Having trouble finding this library (in tumbleweed) (or anywhere for that manner). Ideas?
Fix that project not to use libstdc++.la but -lstdc++ instead. -dnh -- panic ("Splunge!"); linux-2.2.16/drivers/scsi/psi240i.c -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/13/2018 7:40 AM, David Haller wrote:
Hello,
On Sat, 13 Oct 2018, Linda Walsh wrote:
make of a project fails:
libtool: error: cannot find the library '/usr/lib64/../lib64/libstdc++.la' or unhandled argument '/usr/lib64/../lib64/libstdc++.la'
Having trouble finding this library (in tumbleweed) (or anywhere for that manner). Ideas?
Fix that project not to use libstdc++.la but -lstdc++ instead.
Why?, what's the difference? Is .la related to static linking? It does seem to be controllable if I don't use the build/configure defaults where it has enable-static & shared. If I change static to disabled, then the request becomes one for libstdc++.so. That one I can find, at least but the build is looking in the wrong place... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
David Haller
-
L A Walsh
-
Linda Walsh
-
Masaru Nomiya