gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] Linux Mint Borked?


From: Patrick
Subject: [open-cobol-list] Linux Mint Borked?
Date: Tue, 02 Jul 2013 23:38:19 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

Hi Everyone

I need to copy a bunch of DVDs for my kids and Mint Linux is well suited for this so I switched over from Trisquel(also based on Ubunutu).

I installed OC from the repos and I have not had trouble compiling simple programs. However now that I am trying to mix C with Cobol, things are going bad. After failing with the repo version, I purged it and installed OC from source.

I have Brain's OCGTK example here and it compiled fine before. I even made a little shell script to compile it before, so I am running the exact same commands but I get this:

libcob: Cannot find module 'CBL_OC_G_SIGNAL_CONNECT'

I have also tried Brains cobpy and had similar issues.

I thought I'd try something simpler so I made a C program that calls Cobol and a Cobol program that is linked and calling back too. It calls into Cobol just fine and DISPLAY statements are printing but with this little piece:


void nothing(){
printf("printf calling");
}

I can't call back into C from Cobol. I get this:

libcob: Cannot find module 'nothing'

I edited my /etc/ld.so.conf and I added /usr/local/lib.

I ran ldconfig as sudo

I have tried for a couple hours to solve this and I am out of ideas. Is there something else I can try or should I just dump Mint?

Thanks for reading-Patrick





reply via email to

[Prev in Thread] Current Thread [Next in Thread]