proxychains icon indicating copy to clipboard operation
proxychains copied to clipboard

Can't load process ./libproxychains4.so

Open mydockergit opened this issue 6 years ago • 2 comments

I downloaded the latest release.
I followed the instructions:

./configure
make
sudo make install

I ran: ./proxychains4 -f ./proxychains.conf target.com

I received the following errors:

[proxychains] config file found: ./proxychains.conf
[proxychains] preloading ./libproxychains4.so
proxychains can't load process....: No such file or directory

But when I run ls I have the file libproxychains4.so so I don't understand what is the problem?

mydockergit avatar Nov 18 '19 14:11 mydockergit

Hi, I have same problem I found that there's a bug here!! the index of "LD_LIBS" searching

    i=0;   // [SOL] init the index here!!!
while(dll_dirs[i]) {   // bug !!! the index start of 1
	snprintf(buf, sizeof(buf), "%s/%s", dll_dirs[i], dll_name);
	if(access(buf, R_OK) != -1) {
		prefix = dll_dirs[i];
		break;
	}
	i++;
}

You can trace the code , you will find that dll_dirs[0] = own_dir , set by "set_own_dir" , the value is argv[0] which means the program's path

cheng-tony avatar Apr 07 '20 16:04 cheng-tony

Stale issue message

github-actions[bot] avatar Apr 30 '24 03:04 github-actions[bot]