Date: Tue, 23 Jun 2015 11:18:12 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 201056] [PATCH] devel/jsoncpp: Properly version libjsoncpp.so. Message-ID: <bug-201056-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201056 Bug ID: 201056 Summary: [PATCH] devel/jsoncpp: Properly version libjsoncpp.so. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: Closed Keywords: patch Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: rakuco@FreeBSD.org CC: johan@stromnet.se Status: Closed Resolution: DUPLICATE --- Comment #1 from Mark Linimon <linimon@FreeBSD.org> --- *** This bug has been marked as a duplicate of bug 201057 *** Created attachment 157993 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157993&action=edit Proposed patch The attached patch fixes the problem described in bug 200969: currently, libjsoncpp.so is not properly versioned by SCons; in other words, there's no SONAME in the library's ELF header, which confuses the linker when creating binaries that link against it. This causes the problems in the bug I mentioned before. Solve it by using InstallVersionedLib(), available since SCons 2.3.0: this call is able to properly version the shared library the way we need it. Since there is no support for actually installing the files outside the build directory, we have to recreate the required symlinks ourselves in the Makefile. Another related change is that we now create the libraries with the proper names instead of doing that in the Makefile. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201056-13>