Thread: Kylix Problems

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Posts
    1
    Rep Power
    0

    Kylix Problems


    Hello, im a kylix newbie, and I have some problems...
    When I try to run a compiled project out of the ide of Delphi this error comes up:
    ./Project1: relocation error: ./Project1: undefined symbol: initPAnsiStrings

    Please help me.
    Thanks.
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,607
    Rep Power
    4247
    Kylix saves some lib files in a nonstandard location which is why you're seeing this error.
    Type this first:
    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/kylix3/bin
    and then try running your program.

    If you want to make the change permanent, add that above line to your .bash_profile file. This will make it permanent for your login alone.

    Another way to do this (for all users on your system):
    1. Edit /etc/ld.so.conf
    2. Add /usr/local/kylix3/bin or whatever on a new line
    3. Save the file
    4. Type ldconfig to reload the new config
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo

IMN logo majestic logo threadwatch logo seochat tools logo