Question about Running Libraries on linux

I've just successfully installed a library called CLHEP. However, there doesn't seem to be any sort of executible file and I became very confused. How does one open a library on the linux terminal? Thank you....




Topic Options
#2185 - 06/30/03 04:33 PM Question about Running Libraries on linux
dwinn Offline
stranger

Registered: 06/26/03
Posts: 10
I've just successfully installed a library called CLHEP. However, there doesn't seem to be any sort of executible file and I became very confused. How does one open a library on the linux terminal?

Thank you.

Top
Advertisement
#2186 - 06/30/03 11:53 PM Re: Question about Running Libraries on linux
Norman Offline
stranger

Registered: 05/03/03
Posts: 13
A library can not be run on its own. A library contains functions which are then called by an application. An example is gtk+ ( e.g. libgtk-*.so ). It is a library containig all the functions required to create, draw and use widgets - but to use them you have to write an application. So gtk+ applications use the function-library gtk+.

If you want to know on which libraries an app depends try

> ldd path/app

I hope this helps and sorry if I misunderstood your question.

Top
#2191 - 07/01/03 04:25 PM Re: Question about Running Libraries on linux
dwinn Offline
stranger

Registered: 06/26/03
Posts: 10
Your response has been very educational, thank you for explaining how libraries work.

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
How to Convert HD Video: TS, MTS, M2TS for Portabl
by adeline465
4 seconds ago
What version of Linux is this?
by DxxLinux
12/15/09 07:59 PM
Anything like HyperCam?
by Luckycharm8989
12/11/09 02:08 PM
Thank you for your help
by guaiguai
12/11/09 07:29 AM
What the problem is?
by guaiguai
12/11/09 05:09 AM
Who's Online
2 Registered (adeline465, Jason9527), 148 Guests and 40 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91330 Members
24 Forums
58894 Topics
189405 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22