[Bug 192666] New: devel/libmba: wrong DT_SONAME embedded
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Aug 14 23:43:23 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192666
Bug ID: 192666
Summary: devel/libmba: wrong DT_SONAME embedded
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: jbeich at vfemail.net
Created attachment 145795
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145795&action=edit
fix
$ echo 'int main() {}' | cc -xc -o test - -L/usr/local/lib -lmba
$ ./test
Shared object "libmba.so.0.9" not found, required by "test"
zsh: exit 1
$ readelf -d /usr/local/lib/libmba.so | fgrep -i soname
0x000000000000000e (SONAME) Library soname: [libmba.so.0.9]
An actual example of the issue is broken textproc/rtfx:
$ rtfx
Shared object "libmba.so.0.9" not found, required by "rtfx"
zsh: exit 1
The fix contains:
- use single digit for soversion (ignore a.out and openbsd)
- add dragonfly to the ifdef
- drop unnecessary sed(1) lines by adjusting MAKE_ARGS
- bump PORTREVISION to force rebuild of the port and any port that depends on
it
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list