Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sat Jun 06, 2020 6:44 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: pango cairo
PostPosted: Fri Feb 08, 2008 12:54 pm 
Offline

Joined: Tue Jun 05, 2007 1:49 pm
Posts: 25
Realbasic 2007r5 Pro on Windows, publishing to Linux CentOS with gtk2 version 2.4.13-22.

Is pango cairo a new requirement of RealBasic? Is pango cairo default on new fresh Linux OS installs?

My app won't run and I this is the message that I receive:

error while loading shared libraries: libpangocairo-1.0.so.0 cannot open shared object file: No such file or directory.

Installing the library allows the app to run, but are all of my users going to run into this problem?

This problem occurs even with the most basic Realbasic app. Create a new project, add a button to the window, double click on the button to add an action and entered "MsgBox('testing')", and then build for Linux.

This seems like a Realbasic dependency. I'm hoping this isn't an issue as long as the user is working from a system that is up-to-date and I'd really appreciate help confirming this.

Thanks,

Ed


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 08, 2008 1:17 pm 
Offline
Real Software Engineer

Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7858
Location: Canada, Alberta, Near Red Deer
That's not one of the listed dependencies
http://realsoftware.com/products/realbasic/requirements/

Do you get that warning trying to use the IDE ?
It's also built with RB so that should let you know immediately if that lib is required (which I'm, pretty sure it is not)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 08, 2008 2:12 pm 
Offline

Joined: Tue Jun 05, 2007 1:49 pm
Posts: 25
I receive no warning when using the IDE on Windows.

I just ran another test to cross-reference things:

- restart the computer
- start RealBasic 2007r5
- double click on Window1
- drag and drop a button
- double click the button
- type "MsgBox('hello')
- go back to the Project tab
- left-click App
- change the name of the linux binary to dep_test
- go to Project -> Build Settings in the top menu
- check Linux with GTK+ 2.X
- uncheck Windows
- File -> Save
- Build
- zip the binary
- ftp the zip to the linux box
- unzip the binary on the linux box
- change the file permissions u+x
- run ./dep_test
- get the error message about requiring libpangocairo


I also did more searching and found:

http://forums.realbasic.com/viewtopic.php?p=74957
http://forums.realbasic.com/viewtopic.php?p=88476
http://www.macsw.de/listarchive-realbas ... 0_21.shtml

These posts suggest that this is an issue of dependencies for running RealBasic apps on Linux.

I also tried:

- using permissions 777 on dep_test
- building the linux binary and the windows binary at the same time

I'd like to be able to try the older version of RealBasic as a cross-reference but 2007r2 won't run since installing 2007r5. There's a bug report available when R2 crashes now, but I have no idea what it all means. R5 runs fine, so I'm assuming the install of R5 overwrote something R2 relies upon

What do you think? Am I doing this right? Am I missing something?

-Ed


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 08, 2008 2:57 pm 
Offline
Real Software Engineer

Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7858
Location: Canada, Alberta, Near Red Deer
I guess the question is whether this is RB requiring libpangocairo, or something RB depends on that also depends on that library

run a dependency check on that binary and see


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 08, 2008 3:55 pm 
Offline

Joined: Wed Feb 21, 2007 6:28 pm
Posts: 277
I've found 2007r3 will work, but 2007r4 requires libpangocairo.

I have not yet found a libpangocairo for earlier versions of linux (Redhat 8, and I think RHEL 3). The later versions (Ubuntu 7.04 and later) seem to have this library.

It is my opinion that this is just another in a long line of bugs.

You may not consider it a bug. That's fine with me. However, it freezes me to an older and buggier version of RB. I live with it, but I'm getting tired of fighting RB due to its problems more than fighting Linux problems.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 08, 2008 4:29 pm 
Offline
Real Software Engineer

Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7858
Location: Canada, Alberta, Near Red Deer
Google for libpangocairo and you'll find all kinds of software that has issues with this lib not being found

gimp, firefox, vi, purebasic, websvn, etc etc

And there's posts specifically about this lib on CentOS

http://lists.centos.org/pipermail/centos/2006-December/073331.html

Dependencies on Linux are an issue
Hence why REAL specifically lists a few they officially support.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group