Well, I've gotten kdelibs and parts of kdebase built as dynamic
libraries now.  I can get a remote konsole from an OSX box!  =)

But... now that I'm starting to work on building some of the more
modular bits of kdebase, I'm running into dl issues, and I'm not sure
where to go with it.

My biggest issue is I'm not familiar enough with the tools on OSX to
know how to best trace things.  For example, I'm trying to start up
kate, but it says it's not finding an init method (here's the gdb
output):

---(snip!)---
Starting program: /usr/local/kde/bin/./kate 
[Switching to thread 1 (process 4650 thread 0x1603)]
Reading symbols for shared libraries ............................. done
DCOP: register 'anonymous-4650' -> number of clients is now 1
DCOP: register 'kate-4650' -> number of clients is now 2
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
DCOP: unregister 'kate-4650'
DCOP: register 'anonymous-4650' -> number of clients is now 2
DCOP:  'anonymous-4650-2' now known as 'kate-4650'
kdecore (KLibLoader): WARNING: KLibrary: dlcompat: unable to find symbol
"_init_libkatepart"
kdecore (KLibLoader): WARNING: KLibrary: The library libkatepart does
not offer an init_libkatepart function

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x00e00424 in create__11KLibFactoryP7QObjectPCcn1RC11QStringList ()
---(snip!)---

Now, an nm on libkatepart.so shows me there is a text segment for it:

---(snip!)---
0002e38c T _init_libkatepart
         U _insertCatalogue__7KLocaleRC7QString
         U _insertChild__7QObjectPB0
---(snip!)---

...so where do I go from here?  Is this an issue with the new dlcompat?

The bright side is, with some work, it looks like it's going to be
possible to get kde3 on OSX.  When I can, I'll put the patches up that
it took to get to where I am.  The main issue is a small libtool hack,
and then having to set a buttload of explicit libraries because of
apple's anal linker and indirect dylib access.

-- 
Benjamin Reed a.k.a. Ranger Rick ([EMAIL PROTECTED]) http://ranger.befunk.com/
I'm not a robot like you. I don't like having disks crammed into me... unless
they're Oreos, and then only in the mouth. -- Fry

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to