How to name dependencies?

discuss compiling applications for Puppy
Post Reply
Message
Author
User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

How to name dependencies?

#1 Post 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

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#2 Post 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.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#3 Post 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 . . .

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#4 Post 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!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

snayak
Posts: 422
Joined: Wed 14 Sep 2011, 05:49

#5 Post 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
[Precise 571 on AMD Athlon XP 2000+ with 512MB RAM]
[Fatdog 720 on Intel Pentium B960 with 4GB RAM]

[url]http://srinivas-nayak.blogspot.com/[/url]

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#6 Post by amigo »

You need: wxgtk

Post Reply