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
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
|
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
Monday, 26 August 2019, 06:37 GMT
Reason for closing: Fixed
Additional comments about closing: astyle 3.1-2