Jerry Chappell a écrit :
Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:
I tried to make 2 packages.
The first one only contains a small shared library and a header.
the package was made successfully but when I try to install it, the
package filesystem gets corrupted.
Can you email me the package, so that I can try to determine
what’s wrong that would corrupt the package filesystem?
unfortunately no because there is no problem with 1.2 version!
The second package concern the tcl distribution. I install it to
/tmp/tcl, removing the local directory. So, I have tcl/usr/bin/tclsh8.3,
tcl/usr/lib/libtcl8.3.so and some others lib files, tcl/usr/include/*.h,
tcl/usr/man.
No problem to create the package but when I try to install it, it
complain about the dependency with the libtcl8.3.so.
Of course, this library is not yet installed but belongs to the package.
Why this warning?
The problem is that packager thinks .so files are DLLs, and not
shared libraries (please don’t ask me to make the distinction, I get
confused about this too). Anyway, if the file were a .so.1 then it
would work just fine.
To fix your case you can do any of the following:
(1) Change the .so filename to be .so.1 and rebuild/repackage.
(2) Make a QPG file (described in part 2 of my QDN article, to be
posted next week some time I hope), and add a filetype=“so”
qualifier to the QPG:Add line corresponding to your .so file, then
repackage.
(3) Modify the QPM that you have already got, to add the following
line in the QPM:ContentDescription block:
QPM:ContainsLibrary>libtcl8.3.so</QPM:ContainsLibrary
Let me know if you have further problems.
same! my directory tre is:
tcl/:
…
…
usr
x86
tcl/usr:
…
…
include
lib
man
tcl/usr/include:
…
…
tcl.h
tclDecls.h
tcl/usr/lib:
…
…
tcl8.3
tclConfig.sh
tcl/usr/lib/tcl8.3:
…
…
auto.tcl
encoding
history.tcl
http1.0
http2.3
init.tcl
ldAix
ldAout.tcl
msgcat1.0
opt0.4
package.tcl
parray.tcl
safe.tcl
tclAppInit.c
tclIndex
tcltest1.0
word.tcl
tcl/usr/lib/tcl8.3/encoding:
…
…
ascii.enc
#and others files
tcl/usr/lib/tcl8.3/http1.0:
…
…
http.tcl
pkgIndex.tcl
tcl/usr/lib/tcl8.3/http2.3:
…
…
http.tcl
pkgIndex.tcl
tcl/usr/lib/tcl8.3/msgcat1.0:
…
…
msgcat.tcl
pkgIndex.tcl
tcl/usr/lib/tcl8.3/opt0.4:
…
…
optparse.tcl
pkgIndex.tcl
tcl/usr/lib/tcl8.3/tcltest1.0:
…
…
pkgIndex.tcl
tcltest.tcl
tcl/usr/man:
…
…
man1
man3
mann
tcl/usr/man/man1:
…
…
tclsh.1
tcl/usr/man/man3:
…
…
Access.3
#and other files
tcl/usr/man/mann:
…
…
Http.n
#and other files
tcl/x86:
…
…
bin
lib
tcl/x86/bin:
…
…
tclsh8.3
tcl/x86/lib:
…
…
libtcl8.3.so
libtcl8.3.so.1
libtclstub8.3.a
Jerry Chappell
jchappell@qnx.com