Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258373 - media-libs/openjpeg does not have proper library naming, forcing static linking
Summary: media-libs/openjpeg does not have proper library naming, forcing static linking
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Timothy Redaelli (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 258360
  Show dependency tree
 
Reported: 2009-02-09 21:07 UTC by Peter Alfredsen (RETIRED)
Modified: 2009-02-10 11:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix dynamic linking (openjpeg-1.2-Makefile.patch,1.52 KB, patch)
2009-02-09 21:08 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2009-02-09 21:07:46 UTC
It will install these libraries:
( -> denotes a symlink )
/usr/lib64/libopenjpeg-2.1.3.0.so
/usr/lib64/libopenjpeg.so.2 -> libopenjpeg-2.1.3.0.so
/usr/lib64/libopenjpeg.a

This means that whenever a program does -lopenjpeg, it will get the .a linked in statically.

It should install these libraries:
/usr/lib64/libopenjpeg.so.2.1.3.0
/usr/lib64/libopenjpeg.so.2 -> libopenjpeg.so.2.1.3.0
/usr/lib64/libopenjpeg.so -> libopenjpeg.so.2
/usr/lib64/libopenjpeg.a

Replacement for openjpeg-1.2-Makefile.patch which fixes this problem and removes an extraneous call to ldconfig (portage does this for us) follows.
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-09 21:08:22 UTC
Created attachment 181485 [details, diff]
Fix dynamic linking
Comment 2 Timothy Redaelli (RETIRED) gentoo-dev 2009-02-10 11:02:44 UTC
Fixed, thanks