-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/20/11 6:23 AM, Lothar wrote:
> Hi,
> 
> I think, I can ask here as the function should behave identical to the Mac OS 
> X version - if fink not indeed use the Mac version.
> 

We use the system version of dlclose, if that's what you mean by "the
function".

> I have several shared libraries and I do unload them manually as these are 
> all loaded at runtime and I like to keep the order.
> I'll get a crash because one library seems not to get unloaded, even I get an 
> error message (dlclose called too many times) as I
> force unloading the shared library in a while loop.
> 
> The error message seems to me as it has got unloaded by the prior call. But 
> the _fini in that module is not called.
> At the end runtime unloads the shared library and thus it crashes, because I 
> have unloaded all other libraries beforehand.
> 
> Now my questions:
> 
> It seems, the shared library did not have a _fini. How can I see that with nm?

nm -o <name of library>


<snip>

Your problem isn't really appropriate for the fink-users list, however,
as it has nothing to do with _using_ Fink to install packages..

Only a tiny fraction of our ports include any new C or C++ code, and I
don't know of any cases where the  changes involve library management.

The only place where there is a lot of coding is the fink tool, and that
is written in Perl.

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2F9xUACgkQB8UpO3rKjQ8f/gCdF3NFIop23pDrURdeNsWLdhoW
u8wAnida4tyYV5bt9zmmx6ZcTIvD8jeO
=4atA
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to