FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Linux] Error: Library load failed: libcairo.so

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
zane.sims



Joined: 07 Aug 2007
Posts: 40

PostPosted: Sat Dec 12, 2009 4:04 pm    Post subject: [Linux] Error: Library load failed: libcairo.so Reply with quote

Since my goal is to develop cross-platform apps for both windows and linux, I attempted setting up a dev environment in Ubuntu 9.10. Using DSSS v0.78, DMD v1.053, GTKD v1.3

I compiled an app just fine, but when I go to run it (as root or user), I get:

Code:
Error: Library load failed: libcairo.so


I checked in /usr/lib and found the files:

libcairo.so.2.10800.8 - a shared library
libcairo.so.2 - a link to shared library

I tried creating a link to the first file called 'libcairo.so' and then my program ran fine. Is it safe to do this? I am not fully accustomed to Linux hared libraries and so don't feel very comfortable proceeding without advice.

Thanks,
Zane
_________________
わたしがプログラマだよ!
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Sun Dec 13, 2009 9:03 am    Post subject: Reply with quote

It looks like most linux distributions do it by default, so it should be save to do.

In any case i've changed the path in svn to libcairo.so.2
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group