07-13-2012
It is a cranky command, as I was getting errors about the missing library from chatr at first. Maybe just fat fingers and too much command recall! Thanks!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all,
i wanna ask where is unix-screen-binary path location?
i cannot find it in /usr/bin or /bin or using man command
thx before (3 Replies)
Discussion started by: venven
3 Replies
2. Shell Programming and Scripting
Hi:
I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library)
Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies
3. UNIX for Dummies Questions & Answers
I had just install a solaris 10 server. I set the ip address to static during installation. I want to change it to dynamic but I don't know how. Expert here please help me! (5 Replies)
Discussion started by: jimmyysk
5 Replies
4. Programming
Hi,
The following is my Makefile, I wanted to add a staic library named libtimer.a. I'm using the following Makefile. Please let me know how to add this static library:
Makefile:-
It produces "usbserial" executable.
Thanks,
S (1 Reply)
Discussion started by: suryaemlinux
1 Replies
5. Linux
I have some static library(libxxx.a libyyy.a).
And I want to generate my library(libzzz.a), libzzz.a will use libxxx.a and libyyy.a
I wan't my application only use libzzz.a, (means libzzz.a had include libxxx.a, libyyy.a), how can I do that? Thank you.
example:
I have zzz.c.
I do ... (4 Replies)
Discussion started by: freemagic
4 Replies
6. Programming
I am having a devil of a time with a very simple make file. The program needs two shared and one static library. If I link the shared libraries only like below the mysql test app works
... (1 Reply)
Discussion started by: jadsys
1 Replies
7. Shell Programming and Scripting
Hello,
I have a doubt:-
---------------------
Current script:-
################################################################################################
prefix=user@my-server:
find . -depth -type d -name .git -printf '%h\0' | while read -d "" path ; do (
cd "$path" || exit $?... (4 Replies)
Discussion started by: sahil_jammu
4 Replies
8. Programming
I'm writing a program which uses curl to be run on Linux PCs which will be used by a number of different users. I cannot make the users all install curl on their individual machines, so I have tried to link curl in statically, rather than using libcurl.so. I downloaded the source and created a... (8 Replies)
Discussion started by: BrandonShw
8 Replies
9. UNIX for Dummies Questions & Answers
Hello
Please what does mean shared static library and LD-Preload?
Thank you (3 Replies)
Discussion started by: chercheur857
3 Replies
10. IP Networking
Hi,
Environment:
Linux: Ubuntu 12.04
I am connected to internet using static ip. This means my internet provider Pacenet has assigned me static ip. Now, whenever I am trying to change source ip for tcp/ip (ip4) using iptables firewall, I am unable to access internet at all.
Can anybody... (4 Replies)
Discussion started by: ashv
4 Replies
LEARN ABOUT OPENDARWIN
redo_prebinding
REDO_PREBINDING(3) Library Functions Manual REDO_PREBINDING(3)
NAME
redo_prebinding library functions
SYNOPSIS
#include <mach-o/redo_prebinding.h>
extern char ** dependent_libs(
const char *file_name,
const char *program_name,
char **error_message);
extern char * install_name(
const char *file_name,
const char *program_name,
char **error_message);
extern enum redo_prebinding_retval redo_prebinding(
const char *file_name,
const char *executable_path,
const char *root_dir,
const char *output_file,
const char *program_name,
char **error_message,
unsigned long slide_to_address,
int only_if_needed,
int zero_out_prebind_checksum,
cpu_type_t allow_missing_architectures,
unsigned long *throttle);
extern enum needs_redo_prebinding_retval needs_redo_prebinding(
const char *file_name,
const char *executable_path,
const char *root_dir,
const char *program_name,
char **error_message,
unsigned long expected_address,
cpu_type_t allow_missing_architectures);
extern enum object_file_type_retval object_file_type(
const char *file_name,
const char *program_name,
char **error_message);
extern int get_prebind_cksums(
const char *file_name,
struct prebind_cksum_arch **cksums,
unsigned long *ncksums,
const char *program_name,
char **error_message);
DESCRIPTION
These functions are intended for use by update_prebinding(1) and Mac OS X Build and Integration tools.
For all of these functions in the parameters program_name and error_message are used the same. For unrecoverable resource errors like
being unable to allocate memory each function prints a message to stderr precede with program_name then calls exit(2) with the value
EXIT_FAILURE. If a function is unsuccessful and if error_message pass to it is not NULL it is set to a malloc(3)'ed buffer with a NULL
terminated string with the error message. For all functions when they return they release all resources (memory, open file descriptors,
etc).
The file_name parameter for these functions may be of the form foo(bar) which is NOT interpreted as an archive name and a member name in
that archive. As these functions deal with prebinding and prebound binaries ready for execution can't be in archives.
If the executable_path parameter for these functions is not NULL it is used for any dependent library has a path that starts with @exe-
cutable_path. Then @executable_path is replaced with executable_path.
If the root_dir parameter is not NULL it is prepended to all the rooted dependent library paths.
dependent_libs() takes a file_name of a binary and returns a malloc(3)'ed array of pointers (NULL terminated) to names (also malloc(3)'ed
and '