August 13th, 2001, 06:46 PM #1
??? ldconfig ???
I saw that command on Aterm's web site. What's that? Is there an equivalent in Darwin??
August 14th, 2001, 01:38 AM #2
Don't think so
because OSX uses different dynamic linker technology (as compared to Linux)
August 14th, 2001, 10:55 AM #3
I asked that question 'cause i'm tyring to install aterm on OSX and to get the theme support, I need to do a couple of manual steps:
su root ;
cd /usr/local/src/AfterStep-1.8.0 ;
cp lib/libafterstep.a /usr/local/lib ;
cp asimagelib/libasimage.a /usr/local/lib ;
That's fairy simple except the last command. My computer doesn't know that command. Without that, i'm afraid that the whole theme support is obselete. So, is there a set of commands or something that could replace it?
August 14th, 2001, 05:36 PM #4
I was writing a response this AM but our corp. network connection was severed for the day
Anyway, ldconfig is used by older style DYNAMIC loading linkers
to keep a cache (usually /etc/ld.so.cache) of dynamic libraries and symbols.
Darwin doesn't have that and doesn't need it.
What you have are static libraries (the .a's). Even if you had
ldconfig, it wouldn't matter.
Nor am I even certain where your seeing those installation
instructions. AS is built almost totally statically so unless the themes themselves are dynamic executables looking for dynamic runtime libs (which you dont have), there isn't a reason to do what your doing.
The themes instructions I see on afterstep.org are pretty clear.
August 30th, 2001, 10:22 AM #5
While on the dynamic library topic, does anyone have pointers to documentation on this for os x? Basically, I'm wondering what the osx equivalent to the run-time dynamic loading functions in Linux (dlfcn.h stuff) might be (if there is an equivalent).
PS: this web site is being a bit sluggish...
August 30th, 2001, 07:51 PM #6
Someone did write a dl compatibility library. From that dlfcn.h:
extern void * dlopen(
const char *path,
extern void * dlsym(
void * handle,
const char *symbol);
extern const char * dlerror(
extern int dlclose(
void * handle);
I can't help you w/ any native functions.