If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > c4gl compile error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-08-09, 13:29
mallik2004 mallik2004 is offline
Registered User
 
Join Date: Sep 2008
Posts: 33
Exclamation c4gl compile error

Hi Gurus,

I am getting problem in compiling a 4gl pgm like

c4gl db_lock.4gl -o db_lock

This is error am getting.
ld: Can't find library for -ldl
Fatal error.

Am using HP-UX Itanium with IDS 11.50FC4DE.

This is urgent!!!!!!!!!

Regards
Rao
Reply With Quote
  #2 (permalink)  
Old 10-08-09, 21:26
papajack papajack is offline
Registered User
 
Join Date: Oct 2009
Posts: 15
check LD_LIBRARYPATH if defined. If not, add /usr/lib:$INFORMIXDIR/lib:also try c4gl -c -keep filename.4gl -o filename.4ge
Reply With Quote
  #3 (permalink)  
Old 10-12-09, 13:03
mallik2004 mallik2004 is offline
Registered User
 
Join Date: Sep 2008
Posts: 33
Hi,

Thanks for the reply.LD_LIBRARY_PATH is set properly.The above command is forming intermediate files(.ec,.c,.o files)but not getting original result.

Regards
Rao
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On