Real Software Forums

pango cairo
Page 1 of 1

Author:  iarchitect [ Fri Feb 08, 2008 12:54 pm ]
Post subject:  pango cairo

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: 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.



Author:  npalardy [ Fri Feb 08, 2008 1:17 pm ]
Post subject: 

That's not one of the listed dependencies

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)

Author:  iarchitect [ Fri Feb 08, 2008 2:12 pm ]
Post subject: 

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: ... 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?


Author:  npalardy [ Fri Feb 08, 2008 2:57 pm ]
Post subject: 

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

Author:  wademaxfield [ Fri Feb 08, 2008 3:55 pm ]
Post subject: 

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.

Author:  npalardy [ Fri Feb 08, 2008 4:29 pm ]
Post subject: 

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

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

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group