Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report. Summary: Review Request: ctapi-cyberjack https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=188369 ------- Additional Comments From frank-buettner@xxxxxxx 2006-05-01 08:17 EST ------- The standart says noting about the the place of the libs. But /usr/lib/ctapi will be an solution. Normaly the ctapi libs will live under /usr/lib. The apps will normale only call dlopen(XX). XX=name of the lib. When put the files to /usr/lib/ctapi then there we have the next problem. Here the part of the doc about the dload function of the C lib about the search path: - (ELF only) If the executable file for the calling program contains a DT_RPATH tag, and does not contain a DT_RUNPATH tag, then the directories listed in the DT_RPATH tag are searched. - If the environment variable LD_LIBRARY_PATH is defined to contain a colon-separated list of directories, then these are searched. (As a security measure this variable is ignored for set-UID and set-GID programs.) - (ELF only) If the executable file for the calling program contains a DT_RUNPATH tag, then the directories listed in that tag are searched. - The cache file /etc/ld.so.cache (maintained by ldconfig(8)) is checked to see whether it contains an entry for filename. - The directories /lib and /usr/lib are searched (in that order). When the files are in /usr/lib/ctapi the the apps will not find it without set an global LD_LIBRARY_PATH. Or we simple add the files to /usr/lib/ctapi and put an extra config file to /etc/ld.so.conf.d But this have the problem the each ctapi driver muste create an extra dir. example: /usr/lib/ctapi/ReinerSCT/libctapi-cyberjack.so /usr/lib/ctapi/Kobil/libctapi-XXXX.so /usr/lib/ctapi/ZZ/libctapi-XXX.so ZZ= maufacture of the device XXX= produce name I think before I can work forwart we must found an global solution for CT-API in Fedora. Here the link to the offical CT-API doc: In german: http://www.teletrust.de/index.php?id=303 In english: http://www.teletrust.de/index.php?id=548 In my package the are 2 sample apps that use this API. -- Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. _______________________________________________ Fedora-package-review mailing list Fedora-package-review@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-package-review