[jbess@Scooter memview]$ ./memview
./memview: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory
[jbess@Scooter memview]$ sudo urpmi libgtk+1.2
To satisfy dependencies, the following packages are going to be installed:
Package Version Release Arch
(medium "Main (Official2009.1-1)")
libglib1.2 1.2.10 22mdv2009.1 i586
(medium "Contrib (Official2009.1-9)")
galaxy-gtk12 1.0.6 2mdv2009.1 i586 (suggested)
gdk-pixbuf-loaders 0.22.0 14mdv2009.1 i586 (suggested)
libgdk-pixbuf2 0.22.0 14mdv2009.1 i586 (suggested)
libgtk+1.2 1.2.10 50mdv2009.1 i586
2.4MB of additional disk space will be used.
798KB of packages will be retrieved.
Proceed with the installation of the 5 packages? (Y/n) y
ftp://mirrors.kernel.org/mandrake/Mandrakelinux/official/2009.1/i586/media/main/release/libglib1.2-1.2.10-22mdv2009.1.i586.rpm
ftp://mirrors.kernel.org/mandrake/Mandrakelinux/official/2009.1/i586/media/contrib/release/gdk-pixbuf-loaders-0.22.0-14mdv2009.1.i586.rpm
ftp://mirrors.kernel.org/mandrake/Mandrakelinux/official/2009.1/i586/media/contrib/release/galaxy-gtk12-1.0.6-2mdv2009.1.i586.rpm
ftp://mirrors.kernel.org/mandrake/Mandrakelinux/official/2009.1/i586/media/contrib/release/libgdk-pixbuf2-0.22.0-14mdv2009.1.i586.rpm
ftp://mirrors.kernel.org/mandrake/Mandrakelinux/official/2009.1/i586/media/contrib/release/libgtk+1.2-1.2.10-50mdv2009.1.i586.rpm
installing libglib1.2-1.2.10-22mdv2009.1.i586.rpm gdk-pixbuf-loaders-0.22.0-14mdv2009.1.i586.rpm galaxy-gtk12-1.0.6-2mdv2009.1.i586.rpm libgdk-pixbuf2-0.22.0-14mdv2009.1.i586.rpm libgtk+1.2-1.2.10-50mdv2009.1.i586.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
1/5: libglib1.2 #############################################
2/5: libgtk+1.2 #############################################
3/5: libgdk-pixbuf2 #############################################
4/5: gdk-pixbuf-loaders #############################################
5/5: galaxy-gtk12 #############################################
[jbess@Scooter memview]$ ./memview
Gtk-WARNING **: Failed to load module "libcanberra-gtk-module.so": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
> --~--~---------~--~----~------------~-------~--~----~
Where is the source for this? And what is the license for this program. Sounds very fishy to me.
>
> ----- Original Message ----
>> From: Dos-Man 64 <Chai...@mail.com>
>>
>>
>>
>> Would anyone please help to test this out? I need to make sure the
>> output is correct, that all the needed files are in the zip file,
>> that
>> no segmentation faults (related to pointers) are taking place, and
>> that the end user has the proper priviledges to run the executable.
>> Once I am sure it is working correctly, I have to whip up a EULA and
>> upload it somewhere so that people can download it.
>>
>> http://www.yousendit.com/transfer.php?action=batch_download&batch_id=ZW9DT20rdzgyWGRFQlE9PQ
>>
> Where is the source for this? And what is the license for this
> program. Sounds very fishy to me.
>
Not so much fishy as unconventional. Dos-Man is just new to the Linux
software writing scene, so he just has some catching up to do.
Regarding distribution, Dos-Man, you should consider open sourcing
your program. It is quite customary for this sort of program, as is
distributing as source code rather than binary. Zip is also a bit
uncommon in the Linux world, with tarballs (.tar.gz, .tar.bz2, .tgz,
etc.) being the norm.
~Ryan
----- Original Message ----
> From: Ryan Graham <r.m.g...@gmail.com>
> To: "linuxus...@googlegroups.com" <linuxus...@googlegroups.com>
> Sent: Friday, September 25, 2009 9:06:27 AM
> Subject: [lug:15211] Re: My first utility :)
>
>
> On 2009-09-24, at 11:02 PM, Luther Goh Lu Feng wrote:
>
> >
> > ----- Original Message ----
> >> From: Dos-Man 64
> >>
> >>
> >>
> >> Would anyone please help to test this out? I need to make sure the
> >> output is correct, that all the needed files are in the zip file,
> >> that
> >> no segmentation faults (related to pointers) are taking place, and
> >> that the end user has the proper priviledges to run the executable.
> >> Once I am sure it is working correctly, I have to whip up a EULA and
> >> upload it somewhere so that people can download it.
> >>
> >>
> http://www.yousendit.com/transfer.php?action=batch_download&batch_id=ZW9DT20rdzgyWGRFQlE9PQ
> >>
> > Where is the source for this? And what is the license for this
> > program. Sounds very fishy to me.
> >
>
> Not so much fishy as unconventional. Dos-Man is just new to the Linux
> software writing scene, so he just has some catching up to do.
>
> Regarding distribution, Dos-Man, you should consider open sourcing
> your program. It is quite customary for this sort of program, as is
> distributing as source code rather than binary. Zip is also a bit
> uncommon in the Linux world, with tarballs (.tar.gz, .tar.bz2, .tgz,
> etc.) being the norm.
>
> ~Ryan
>
Sorry for sounding that paranoid.... the spam bots I have encountered on some mailing lists and forums are becoming increasingly sophisticated.
But I think it is my mistake in this case. My apologies.
Cheers,
Luther
Dynamic linking is both a blessing and a curse to the Linux world. On
the one hand, you have much smaller packages. On the other hand, you
have dependency hell which is only partially solved by package
managers (the degree of success is tied to your willingness to work
with them rather than against them).
There are merits to both approaches, but the general consensus is that
dynamic linking is your friend (which has allowed Linux to progress to
where it is today).
If you want to statically link your app, you'll need to read up on the
CLI arguments to pass to gcc, -static in particular. You may have to
install additional packages (or compile them yourself) to get this to
work as static linking is not very popular and your distro may not
have the static version of the libraries.
In my opinion, if you want to do this the "Linux way", you'd
distribute the program as source only and not care about the linking.
~Ryan
--
http://rmgraham.blogspot.com
http://twitter.com/rmgraham
As long as you don't use any libraries like pascal bindings for GTK+.
~Ryan