Bug 201246 - cad/elmerfem: ElmerGrid: Shared object "libmatc.so" not found, required by "ElmerGrid"
Summary: cad/elmerfem: ElmerGrid: Shared object "libmatc.so" not found, required by "E...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-01 13:13 UTC by Anton Shterenlikht
Modified: 2016-03-17 18:25 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (pfg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Shterenlikht 2015-07-01 13:13:08 UTC
Installed elmerfem via pkg.
Trying to launch ElmerGrid I get:

Shared object "libmatc.so" not found, required by "ElmerGrid"

# pkg which /usr/local/lib/elmersolver/libmatc.so
/usr/local/lib/elmersolver/libmatc.so was installed by package elmerfem-7.0.20141202

# ls -al /usr/local/lib/elmersolver/libmatc.so 
-rwxr-xr-x  1 root  wheel  144072 Jun 23 08:23 /usr/local/lib/elmersolver/libmatc.so

Please advise

Thanks

Anton
Comment 1 Anton Shterenlikht 2015-07-01 13:27:42 UTC
Forgot to include:

# ldd /usr/local/bin/ElmerGrid 
/usr/local/bin/ElmerGrid:
        libmatc.so => not found (0)
        libm.so.5 => /lib/libm.so.5 (0x8008b2000)
        libc.so.7 => /lib/libc.so.7 (0x800ada000)
Comment 2 Pedro F. Giffuni freebsd_committer freebsd_triage 2015-07-01 16:06:29 UTC
The pkg-plist carries the shared library here:

lib/elmersolver/libmatc.so

I will probably add some symlinks.

For now, note that there is an update pending so I will fix the problem there.
Comment 3 Pedro F. Giffuni freebsd_committer freebsd_triage 2015-07-01 18:42:53 UTC
Setting this in the port Makefile should fix it:

USE_LDCONFIG=  ${PREFIX}/lib/elmersolver
Comment 4 Anton Shterenlikht 2015-07-02 07:56:00 UTC
Yes, this helps, thank you
Comment 5 Pedro F. Giffuni freebsd_committer freebsd_triage 2016-03-12 17:47:43 UTC
Drop myself from this PR, the issue was fixed in 196577.
Comment 6 Thierry Thomas freebsd_committer freebsd_triage 2016-03-17 18:25:31 UTC
Fixed by 196577.