Page 1 of 1

How to name dependencies?

Posted: Tue 15 May 2012, 10:47
by darkcity
If I make a package which needs the libs below, how would I name the dependencies for the PET file?

Code: Select all

libFLAC++.so.6.2.0
libSoundTouch.so.1.0.0
libwx_baseu-2.8.so.0.6.0
libwx_baseu_net-2.8.so.0.6.0
libwx_baseu_xml-2.8.so.0.6.0
libwx_gtk2u_adv-2.8.so.0.6.0
libwx_gtk2u_aui-2.8.so.0.6.0
libwx_gtk2u_core-2.8.so.0.6.0
libwx_gtk2u_fl-2.8.so.0.6.0
libwx_gtk2u_gizmos-2.8.so.0.6.0
libwx_gtk2u_gizmos_xrc-2.8.so.0.6.0
libwx_gtk2u_gl-2.8.so.0.6.0
libwx_gtk2u_html-2.8.so.0.6.0
libwx_gtk2u_media-2.8.so.0.6.0
libwx_gtk2u_ogl-2.8.so.0.6.0
libwx_gtk2u_plot-2.8.so.0.6.0
libwx_gtk2u_qa-2.8.so.0.6.0
libwx_gtk2u_richtext-2.8.so.0.6.0
libwx_gtk2u_stc-2.8.so.0.6.0
libwx_gtk2u_svg-2.8.so.0.6.0
libwx_gtk2u_xrc-2.8.so.0.6.0

Posted: Tue 15 May 2012, 10:57
by jamesbond
You need to collect all these libs into one PET file, say libwxgtk-2.8.pet (just a guess - I don't know what these libs are). Then when you build the your apps pet, add +libwxgtk to the "dependency" section. Note: Put your libs pet name without version number.

Posted: Tue 15 May 2012, 13:30
by darkcity
so it would be something like this:-

+libFLAC++,+libSoundTouch,+libwx_baseu,+libwx_gtk2u

?

I'm unsure whether I need to put lib in front of all the dependencies . . .

Posted: Fri 18 May 2012, 08:05
by jamesbond
Yes, assuming that's how you name your library pets.
Let's say you keep your libraries in 3 pets:
- libwxgtk-2.8pet
- libflac-3.7-git.pet
- soundtouch-5.0.pet

Then in your app you put the depedency as:
+libwxgt,+libflac,+soundtouch

The name of the libs doesn't matter; it is the name of the pet that must match (the name before the first "-" dash character).

If on the other hand you decide to combine all the libs into one big pet, say my_big_lib_collection-1.0.pet; you need to add "+my_big_lib_collection" as your dependency.

cheers!

Posted: Wed 06 Nov 2013, 19:43
by snayak
Dear All,

I downloaded code::blocks from http://www.smokey01.com/software/Fatdog64-600/.
While I try to run, it asks for

Code: Select all

~# codeblocks        
codeblocks: error while loading shared libraries: libwx_gtk2_richtext-2.8.so.0: cannot open shared object file: No such file or directory
~# 
Please help in getting this library for fatdog611.

Sincerely,
Srinivas Nayak

Posted: Thu 07 Nov 2013, 06:29
by amigo
You need: wxgtk