FS#57590 - [astyle] Shared library not symlinked correctly

Attached to Project: Community Packages
Opened by James An (jamesan) - Wednesday, 21 February 2018, 06:49 GMT
Last edited by Antonio Rojas (arojas) - Monday, 26 August 2019, 06:37 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

The share library (i.e. /usr/lib/libastyle.so.3.1.0) is missing symlinks from its soname (i.e. /usr/lib/libastyle.so.3) and its linker name (i.e. /usr/lib/libastyle.so). The two missing symlinks prevents the library from being referenced properly, e.g. with the linker using the flag "-lastyle".

In the PKGBUILD, the two symlinks need to be created after the library is installed:

ln --symbolic --relative "$pkgdir/usr/lib/libastyle.so.${_pkgver}" "$pkgdir/usr/lib/libastyle.so.${_pkgver%%\.*}" # symlink from the soname
ln --symbolic --relative "$pkgdir/usr/lib/libastyle.so.${_pkgver}" "$pkgdir/usr/lib/libastyle.so" # symlink from the linker name
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 26 August 2019, 06:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  astyle 3.1-2

Loading...