Re: [PATCHES] Fix linking of OpenLDAP libraries
От | Kevin Brown |
---|---|
Тема | Re: [PATCHES] Fix linking of OpenLDAP libraries |
Дата | |
Msg-id | 20060911220409.GF11514@filer обсуждение исходный текст |
Ответ на | Re: [PATCHES] Fix linking of OpenLDAP libraries (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
Tom Lane wrote: > "Albe Laurenz" <all@adv.magwien.gv.at> writes: > > Let me expand a little on some of the peculiarities of > > shared libraries on AIX: > > > - A normal AIX shared library is called libXX.a > > It is an 'ar' archive that contains the shared object(s). > > Ah, so the problem really boils down to funny naming conventions. > If they use ".a" for both shared and static libraries, how does anyone > tell the difference? It sounds to me like there is no difference. Notice how his example ldd output shows dependencies on specific .o entries within the various .a files that reside on the system, rather than on the .a files as a whole. If those entries had been statically linked then they wouldn't have shown up in the ldd output at all. So the difference is no longer between static libraries and shared libraries -- they're now just libraries. The only difference is how you link to them. What IBM has done here is very sensible, and is really what the other Unixes should have done from the beginning: a library is just a library, and what differs is how it's used. -- Kevin Brown kevin@sysexperts.com
В списке pgsql-hackers по дате отправления: