[fpc-pascal] Issue with deploying linux application in /opt directory
Krzysztof
dibo20 at wp.pl
Mon Sep 3 23:38:48 CEST 2012
Hmm problem is that I'm trying deploy libQt4Pas with my application (I
have run.sh script which do "export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/myapp/lib" before running
application) and I see that this library trying do something in /opt
folder:
open("/opt/myapp/lib/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC)
= -1 ENOENT (No such file or directory)
stat("/opt/myapp/lib/tls/x86_64", 0x7fff625d38f0) = -1 ENOENT (No such
file or directory)
open("/opt/myapp/lib/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
stat("/opt/myapp/lib/tls", 0x7fff625d38f0) = -1 ENOENT (No such file
or directory)
open("/opt/myapp/lib/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
stat("/opt/myapp/lib/x86_64", 0x7fff625d38f0) = -1 ENOENT (No such
file or directory)
open("/opt/myapp/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT
(No such file or directory)
stat("/opt/myapp/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
That's why I didn't have this problem on my app for GTK (I'm testing
it now for KDE)
More information about the fpc-pascal
mailing list