~ $ ldd /app/bin/lp_solve
not a dynamic executable
~ $ ldd Rakefile
not a dynamic executable
~ $ bin/lp_solve
bash: bin/lp_solve: No such file or directory
~ $ bin/blah
bash: bin/blah: No such file or directory
~ $ ls -l bin
total 9440
lrwxrwxrwx 1 u57815 57815 28 2013-10-09 23:33 erb ->
../vendor/ruby-1.9.3/bin/erb
lrwxrwxrwx 1 u57815 57815 28 2013-10-09 23:33 gem ->
../vendor/ruby-1.9.3/bin/gem
lrwxrwxrwx 1 u57815 57815 28 2013-10-09 23:33 irb ->
../vendor/ruby-1.9.3/bin/irb
-rwx------ 1 u57815 57815 611152 2013-10-09 23:28 lp_solve
-rwx------ 1 u57815 57815 9051515 2011-11-05 05:26 node
lrwxrwxrwx 1 u57815 57815 29 2013-10-09 23:33 rake ->
../vendor/ruby-1.9.3/bin/rake
lrwxrwxrwx 1 u57815 57815 29 2013-10-09 23:33 rdoc ->
../vendor/ruby-1.9.3/bin/rdoc
lrwxrwxrwx 1 u57815 57815 27 2013-10-09 23:33 ri ->
../vendor/ruby-1.9.3/bin/ri
lrwxrwxrwx 1 u57815 57815 29 2013-10-09 23:33 ruby ->
../vendor/ruby-1.9.3/bin/ruby
lrwxrwxrwx 1 u57815 57815 33 2013-10-09 23:33 ruby.exe ->
../vendor/ruby-1.9.3/bin/ruby.exe
lrwxrwxrwx 1 u57815 57815 31 2013-10-09 23:33 testrb ->
../vendor/ruby-1.9.3/bin/testrb
On Wed, Oct 9, 2013 at 5:37 PM, Robert Fletcher <[email protected]>wrote:
> It tells me "not a dynamic executable"
>
>
> On Wed, Oct 9, 2013 at 5:34 PM, Daniel Farina <[email protected]> wrote:
>
>> On Wed, Oct 9, 2013 at 5:32 PM, Robert Fletcher <[email protected]>
>> wrote:
>> > The more I think about it, I think lp_solve may be running, but it's
>> trying
>> > to access some file that isn't there. It just isn't being explicit about
>> > which file it's looking for.
>>
>> I was thinking something on similar lines. You may want to consider
>> "ldd" on the executable to see if the program runs and maybe
>> dynamically links basically properly, e.g.:
>>
>> ~ $ ldd /bin/bash
>> linux-vdso.so.1 => (0x00007fffabdfe000)
>> libncurses.so.5 => /lib/libncurses.so.5 (0x00007f448c3cc000)
>> libdl.so.2 => /lib/libdl.so.2 (0x00007f448c1c8000)
>> libc.so.6 => /lib/libc.so.6 (0x00007f448be41000)
>> /lib64/ld-linux-x86-64.so.2 (0x00007f448c622000)
>>
>> If that seems to go okay, then the program itself is emitting that
>> output. You may also want to consider using: "echo $?" to similar
>> effect:
>>
>> ~ $ foo
>> bash: foo: command not found
>> ~ $ echo $?
>> 127
>> ~ $ false
>> ~ $ echo $?
>> 1
>> ~ $ true
>> ~ $ echo $?
>> 0
>>
>> --
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Heroku" group.
>>
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Heroku Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
--
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.