Question

Quelqu'un peut-il fournir un aperçu ou un moyen de déboguer pourquoi LTDL ne charge pas ma bibliothèque? Comme vous pouvez le voir sur la sortie Strace partielle, il réussit à ouvrir la bibliothèque, rapporte puis rapporte file not found, puis passe à charger avec succès une autre bibliothèque construite de la même manière. Comment puis-je déboguer cela? J'ai recherché sur Google depuis des lustres et je n'ai trouvé aucun moyen utile de le déboguer.

open("server/modules/smtp.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("server/modules/smtp.so", O_RDONLY) = 3
getcwd("/home/david/Documents/workspace/dvnmon", 128) = 39
1327209900.751672 3602 Failed to open server/modules/smtp: file not found
open("server/modules/snmp.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("server/modules/snmp.so", O_RDONLY) = 3
getcwd("/home/david/Documents/workspace/dvnmon", 128) = 39
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/usr/lib64/libnetsnmp.so.15", O_RDONLY) = 3
open("/usr/lib64/libcrypto.so.1.0.0", O_RDONLY) = 3
open("/lib64/libz.so.1", O_RDONLY)      = 3
1327209900.800507 3602 Plugin CSNMPMonitor interface version 0.1 loaded

Pas de solution correcte

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top