[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

help compiling shoes

Howard Roberts

7/2/2008 10:45:00 AM

Due to recent concerns I took the (perhaps rash) step of purging my apt
installed version of Ruby and installed it from source to achieve patch
level 22 before it was available through the repository. All is well
with my system now, except that I cannot re-compile Shoes correctly.
When I try to make it, I get:

CC -o dist/libshoes.so
/usr/bin/ld: cannot find -lruby
collect2: ld returned 1 exit status
make: *** [dist/libshoes.so] Error 1

Compiling software via make is not one of my strengths, but I have tried
sudo ldconfig and make -I/usr/local/include to no avail. It seems that
Ruby or a library cannot be found, but I'm unsure how to proceed. Any
suggestions or tips would be appreciated.

Thanks,
Howard
--
Posted via http://www.ruby-....

2 Answers

Peña, Botp

7/2/2008 10:49:00 AM

0

RnJvbTogSG93YXJkIFJvYmVydHMgW21haWx0bzpob3dhcmRyb2JlcnRzQGNvbWNhc3QubmV0XSAN
CiMgQ0MgLW8gZGlzdC9saWJzaG9lcy5zbw0KIyAvdXNyL2Jpbi9sZDogY2Fubm90IGZpbmQgLWxy
dWJ5DQojIGNvbGxlY3QyOiBsZCByZXR1cm5lZCAxIGV4aXQgc3RhdHVzDQojIG1ha2U6ICoqKiBb
ZGlzdC9saWJzaG9lcy5zb10gRXJyb3IgMQ0KDQpkw6lqw6AgdnUsDQoNCmdvdCBhIHNpbWlsYXIg
cHJvYmxlbSBhbmQgaSdkIGxpa2UgdG8gcXVvdGVzIF93aHkncyBhbnN3ZXIuLg0KDQotLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KPiAvdXNyL2Jpbi9sZDogY2Fubm90IGZp
bmQgLWxydWJ5DQo+IGNvbGxlY3QyOiBsZCByZXR1cm5lZCAxIGV4aXQgc3RhdHVzDQo+IG1ha2U6
ICoqKiBbZGlzdC9saWJzaG9lcy5zb10gRXJyb3IgMQ0KDQpBbmQgaXQgZG9lc24ndCBoYXZlIHRo
ZSBzaGFyZWQgbGliIGluc3RhbGxlZC4NCg0KWW91J2xsIG5lZWQgdG8gcmVidWlsZCBSdWJ5IHRv
IGluY2x1ZGUgdGhlIHNoYXJlZCBsaWI6DQoNCiAkIC4vY29uZmlndXJlIC0tZW5hYmxlLXNoYXJl
ZA0KICQgbWFrZSAmJiBtYWtlIGluc3RhbGwNCg0KSSdsbCBsb29rIGludG8gc3dpdGNoaW5nIHRv
IHN0YXRpYyBsaW5raW5nIGlmIHRoZSBzaGFyZWQgbGliIGlzDQptaXNzaW5nLiAgVGhpcyBpcyB2
ZXJ5IGNvbW1vbi4NCg0KX3doeSINCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tDQoNCg0KDQpraW5kIHJlZ2FyZHMgLWJvdHANCg==

Howard Roberts

7/2/2008 11:06:00 AM

0

Peña, Botp wrote:

> got a similar problem and i'd like to quotes _why's answer..
<snip>
> You'll need to rebuild Ruby to include the shared lib:
>
> $ ./configure --enable-shared
> $ make && make install
<snip>
> _why"
<snip>
> kind regards -botp

Exactly the problem, of course. Thanks to you, botp (and _why, too) for
the solution.

Sincerly,
Howard
--
Posted via http://www.ruby-....