Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 6 of 6
  1. #1
    R1ck5P is offline Registered User
    Join Date
    Dec 2000
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ??? ldconfig ???

    I saw that command on Aterm's web site. What's that? Is there an equivalent in Darwin??

    Thankx

  2. #2
    ladavacm is offline Unperson Spotter
    Join Date
    Mar 2001
    Posts
    275
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Don't think so

    because OSX uses different dynamic linker technology (as compared to Linux)

  3. #3
    R1ck5P is offline Registered User
    Join Date
    Dec 2000
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 ;
    ldconfig

    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?

  4. #4
    howardm4 is offline Registered User
    Join Date
    Jun 2001
    Posts
    204
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  5. #5
    werh37 is offline Registered User
    Join Date
    Aug 2001
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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...

  6. #6
    howardm4 is offline Registered User
    Join Date
    Jun 2001
    Posts
    204
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Someone did write a dl compatibility library. From that dlfcn.h:

    extern void * dlopen(
    const char *path,
    int mode);
    extern void * dlsym(
    void * handle,
    const char *symbol);
    extern const char * dlerror(
    void);
    extern int dlclose(
    void * handle);


    I can't help you w/ any native functions.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •