OK, I think I know what the problem is. During build, I export
LD_LIBRARY_PATH to be equal to unicon/bin/, which contains the
correct (Unicon's) libgdbm.so. /That/ is why it works for me.

  I am now uploading the next version of .deb's. Besides this fix,
it also features a brand new handling of runtime libraries. That is:

1. all subsystems are separated into their own shared libraries:
   base, math, grfx, dbms and osal (posix, fload, msg). Besides that,
   there is a huge libiconrt.so which contains everything (for some
   reason I found out that some Icon programs fail to run under
   reduced funcionality which they don't require, will investigate
   this further).
   
   Example:

   export DBLIST="rt-base.db"; iconc helloworld

   will get you an executable with only libiconrt-base.so linked in.

   export DBLIST="rt-base.db rt-math.db"; iconc hellomath

   will get you an executable with only libiconrt-base.so and
   libiconrt-math.so linked in.
   
2. every shared library includes it's own dependencies so that
   strcat(" -lXXX ") are no longer necessary in iconc. Of course
   this works only for shared libraries. A "correct" fix to iconc
   is pending...


Jonathan, could you check whether this release fixes your compile
problems?

Links:

deb     http://www.xs4all.nl/~kurzanov/Debian   unstable contrib
deb-src http://www.xs4all.nl/~kurzanov/Debian   unstable contrib

On Thu, Jan 06, 2005 at 04:38:13PM +0100, Jonathan Kaye wrote:
> [EMAIL PROTECTED] wrote:
> 
> > Folks,
> >
> > I finally have gotten around to transforming the latest Unicon CVS 
> >build into a Debian package. Results can be downloaded with apt-get:
> ><snip>
> >
> Thanks a lot Peter. I downloaded and installed the .deb package. To get 
> anything to compile I needed to create a symbolic link for 
> /usr/lib/libgdbm.so to libgdbm.so.3.0.0. That seemed to satisfy icont 
> and I can now compile. However I can't compile anything from ivib nor do 
> unicon -c gui from the /opt/Unicon/uni/lib directory as Clint suggested. 
> I get * iconx: undefined symbol: dbm_open*. Any suggestions on what do to?
> I'm running Debian Sarge 2.4.27-1-386 and I have libgdbm3 version 
> 1.8.3-2 installed.
> Thanks for any help.
> Jonathan
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Unicon-group mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/unicon-group
> 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to