image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
LinkBack Thread Tools
  #1  
Old August 13th, 2001, 06:46 PM
Registered User
 
Join Date: Dec 2000
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
R1ck5P is on a distinguished road
??? ldconfig ???

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

Thankx
Reply With Quote
  #2  
Old August 14th, 2001, 01:38 AM
Unperson Spotter
 
Join Date: Mar 2001
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
ladavacm is on a distinguished road
Don't think so

because OSX uses different dynamic linker technology (as compared to Linux)
Reply With Quote
  #3  
Old August 14th, 2001, 10:55 AM
Registered User
 
Join Date: Dec 2000
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
R1ck5P is on a distinguished road
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?
Reply With Quote
  #4  
Old August 14th, 2001, 05:36 PM
Registered User
 
Join Date: Jun 2001
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
howardm4 is on a distinguished road
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.
Reply With Quote
  #5  
Old August 30th, 2001, 10:22 AM
Registered User
 
Join Date: Aug 2001
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
werh37 is on a distinguished road
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...
Reply With Quote
  #6  
Old August 30th, 2001, 07:51 PM
Registered User
 
Join Date: Jun 2001
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
howardm4 is on a distinguished road
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.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 01:15 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1
Copyright 2000-2010 DigitalCrowd, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52