FLTK logo

Re: [fltk.general] OT: shared libs conflict

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: OT: shared libs conflict Ian MacArthur May 23, 2022  
 
On Monday, 23 May 2022 at 05:10:35 UTC+1 Gonzalo wrote:

On 22/5/22 21:08, Gonzalo Garramuño wrote:
> strace is helpful in that it shows all DSOs being loaded. However, it
> does not seem to list them in a tree view fashion (or in a proper
> order either), which is what I would need.   I am looking for the
> equivalent of Windows' DLLs Dependency Walker (depends.exe).

Okay, I found what I needed. lddtree (from app-misc/pax-utils). That
lists DSOs in a tree fashion.

Hi Gonzalo,

Glad you found that - I knew it existed, but couldn't actually remember what it was called!
Did it show anything useful?
Might be interesting to see what it did show, too.

As an aside - I'm not really understanding what you are doing - it sounds to me like you are linking a number of SO files into your app, and providing them in a private libs folder, specific to your app? (To which end you are overwriting LD_LIBRARY_PATH to find your "local" libs.)
Would it not be cleaner to simply static link the "local" libs and then allow the default library load path to load all the other "system" libs that are needed?

As I say, I'm not at all clear on what you are doing, so I was puzzled...


As an aside, I'm not all that comfortable with the possibility that your app might be loading two different versions of the TLS lib here, that just seems... scary, frankly.
I think I'd be more comfortable if there was only one!
 

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/7c5071cf-e33a-4a9b-ac21-f46f8dbb7f38n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.