Bug #33784
lasso_log is not exported, linking on Solaris fails
0%
Description
When building Lasso library on Solaris, I run into an issue that the symbol
lasso_log is exported in the resulting shared object, so external consumers
(mod_auth_mellon) of lasso/logging.h are unable to link.
The problem got fixed via attached patch. It's possible that it is Solaris
specific issue due to strict runtime-linker rules (or link editor?), don't
remember on top of my head.
If you have time please also check that C files using index() function import
the required header file <strings.h>. Please see e.g. man page:
Fichiers
Révisions associées
Historique
Mis à jour par Vita Batrla il y a presque 5 ans
"issue that the symbol lasso_log is exported" should read as "issue that the symbol lasso_log is not exported"
Mis à jour par Benjamin Dauvergne il y a presque 5 ans
I can't apply your patch with git, could you provide a git-formatted patch from master ?
Mis à jour par Benjamin Dauvergne il y a presque 5 ans
See http://git.entrouvert.org/lasso.git/ for the git repository.
Mis à jour par Vita Batrla il y a presque 5 ans
- Fichier 0001-export-symbol-lasso_log-fixes-33784.patch 0001-export-symbol-lasso_log-fixes-33784.patch ajouté
Attaching git-formatted patch.
Mis à jour par Vita Batrla il y a presque 5 ans
In commit comment "export symbol lasso_log (fixes: 33784)" should be probably "export symbol lasso_log (fixes #33784)"
export symbol lasso_log (#33784)
The symbol lasso_log has to be exported, otherwise Solaris run-time linker
fails due to an unresolved symbol dependency.