Re: [HACKERS] Shared libs with version numbers.
| От | Michael Meskes |
|---|---|
| Тема | Re: [HACKERS] Shared libs with version numbers. |
| Дата | |
| Msg-id | 199804300725.JAA07406@gauss.topsystem.de обсуждение исходный текст |
| Ответ на | Shared libs with version numbers. (darrenk@insightdist.com (Darren King)) |
| Список | pgsql-hackers |
Darren King writes: > Is there any purpose to the version numbers that some ports append > to a shared lib name, besides keeping different versions around? Yes. Making sure your application doesn't load an incompatible version of the lib. > Using libpq as an example, is there a difference to the system if... > > $(MAKE) libpq.so > $(INSTALL) libpq.so libpq.so.1 > $(LN) libpq.so.1 libpq.so > > ...rather than... > > $(MAKE) libpq.so.1 > $(INSTALL) libpq.so.1 libpq.so.1 > $(LN) libpq.so.1 libpq.so No. The file the system knows is libpq.so.1 either way. You might even call it foo.bar in your Makefile as long as it is installed as libpq.so.1. Michael -- Dr. Michael Meskes, Project-Manager | topsystem Systemhaus GmbH meskes@topsystem.de | Europark A2, Adenauerstr. 20 meskes@debian.org | 52146 Wuerselen Go SF49ers! Go Rhein Fire! | Tel: (+49) 2405/4670-44 Use Debian GNU/Linux! | Fax: (+49) 2405/4670-10
В списке pgsql-hackers по дате отправления: