Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2014 23:43:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192666] New: devel/libmba: wrong DT_SONAME embedded
Message-ID:  <bug-192666-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: jbeich@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192666-13>