LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-15-2017, 06:05 AM   #1
Rupali#7
LQ Newbie
 
Registered: Mar 2017
Posts: 8

Rep: Reputation: Disabled
Smile Unable to import and implement project on kali linux


Hello

I want to implement any algorithm present on this site as per my academic tasks. For that I installed Kali Linux on my machine which has 64 bit OS. I am trying to follow the commands given on that site but unable to go ahead. Right now I stuck at step 6, which is showing error: /usr/lib64/libz.a: No such file or directory makefile:68: recipe for target 'CMPsimpref64' failed make: *** [CMPsimpref64] though I followed all previous 5 commands
I am new to this environment please help me out to sort this problem. Thanks in advance

[img]C:\Users\Rupali\Desktop[/img]
 
Old 03-15-2017, 11:18 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by Rupali#7 View Post
Hello

I want to implement any algorithm present on this site as per my academic tasks. For that I installed Kali Linux on my machine which has 64 bit OS. I am trying to follow the commands given on that site but unable to go ahead. Right now I stuck at step 6, which is showing error: /usr/lib64/libz.a: No such file or directory makefile:68: recipe for target 'CMPsimpref64' failed make: *** [CMPsimpref64] though I followed all previous 5 commands
I am new to this environment please help me out to sort this problem. Thanks in advance

[img]C:\Users\Rupali\Desktop[/img]
Please read the "Question Guidelines" link in my posting signature.

We are happy to try to help you, but there are several things you need to be aware of first:
  • Kali is NOT for daily use, nor for new users. It is a specialized distro for security testing. Getting things installed/working outside of that scope may be difficult, if not impossible in some cases.
  • You say "any algorithm present" on a website...please don't ask people to go looking for what you're after. If this is YOUR HOMEWORK, then show your own efforts. At least pick SOMETHING to work with.
  • You imply you're using NS...what version? How did you install it?
You really need to stop where you are if this is a new installation, and load Ubuntu, which has a MUCH higher success rate with NS2/3, and at the very least, will be easier for you to navigate/use. Also, when trying to attach an image or post a link, you might want to double-check it...there's no way anyone here can see your C:\Users\Rupali\Desktop directory....
 
Old 03-15-2017, 11:28 AM   #3
Rupali#7
LQ Newbie
 
Registered: Mar 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks alot for you guidence..I will move on ubantu soon. Actually I am working on multi-level adaptive prefetching algorithm and stuck with that error.
 
Old 03-15-2017, 12:36 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Rupali#7 View Post
I want to implement any algorithm present on this site
where? which algorithm? show us!
Quote:
Right now I stuck at step 6
step six of WHAT?

and...
Quote:
[img]C:\Users\Rupali\Desktop[/img]
:lol:
 
3 members found this post helpful.
Old 03-15-2017, 01:38 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by Rupali#7 View Post
Thanks alot for you guidence..I will move on ubantu soon. Actually I am working on multi-level adaptive prefetching algorithm and stuck with that error.
And you're going to CONTINUE to be stuck if you're on Kali. Until you move to Ubuntu, you're probably going to continue to have a LOT of issues that a new user would be hard pressed to solve. And please, read the "Question Guidelines" and "How to ask a smart question" links in my posting signature.

Telling us "step 6", when you don't actually tell us what that IS, or where you're reading it from isn't good. We can't guess for details, and when you're asked questions, it's best to give clear answers. We understand you're working on a simulation of some sort, but you still haven't given us ANYTHING that would let us even try to help you.
 
1 members found this post helpful.
Old 03-16-2017, 07:37 AM   #6
Rupali#7
LQ Newbie
 
Registered: Mar 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Smile

Hello sir,

As per your guidance temporary I switch to 32 bit OS machine where ubantu 14.04.1 LTS is installed. I want to implement "multi-level adaptive prefetching algorithm" which is present on "https://www.jilp.org/dpc/online/DPC-1%20Program.htm" this site. All necessary stuff is present here. According to it I did following steps
1. Download and unzip .tgz file
2. set line no 2 to PIN_HOME ?= $path to reach pref_kit according to my machine/PREF_KIT/pin-2.5-22247-gcc.4.0.0-ia32_intel64-linux into CONFIG/makefile.gnu.config
3. As my system is 32 bit I set 5th line of Makefile.competiotion to CMPsimpref32(as it is)
4. make
5. G++ command not found Error no 127 is genereated so I did "sudo apt -get update","sudo apt-get install" and "sudo apt-get build essential" .
6. After successful G++ installation /usr/lib/libz.a: No such file or directory
makefile:68: recipe for target 'CMPsimpref32' failed
make: *** [CMPsimpref32]


Even I trace path upto /usr/lib/ libz.a There was files like libzeitgeist-1.0.so.1 and libzeitgeist-1.0.so.1.1.4 but no libz.a file was there phisically.
Now I am stuck here. Can you please help me out in this?? Or correct me If I went wrong.

Thanks in advance...!!!
 
Old 03-16-2017, 12:05 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by Rupali#7 View Post
Hello sir,

As per your guidance temporary I switch to 32 bit OS machine where ubantu 14.04.1 LTS is installed. I want to implement "multi-level adaptive prefetching algorithm" which is present on "https://www.jilp.org/dpc/online/DPC-1%20Program.htm" this site. All necessary stuff is present here.
Again, we are not going to read/chase down documentation from other websites to help you. Either post the details here, or there's little point in posting.
Quote:
According to it I did following steps
According to WHAT??? There is a PDF, 3 CPP and .H files. NONE of them give any of the steps:
Quote:
1. Download and unzip .tgz file
2. set line no 2 to PIN_HOME ?= $path to reach pref_kit according to my machine/PREF_KIT/pin-2.5-22247-gcc.4.0.0-ia32_intel64-linux into CONFIG/makefile.gnu.config
3. As my system is 32 bit I set 5th line of Makefile.competiotion to CMPsimpref32(as it is)
4. make
5. G++ command not found Error no 127 is genereated so I did "sudo apt -get update","sudo apt-get install" and "sudo apt-get build essential" .
6. After successful G++ installation /usr/lib/libz.a: No such file or directory
makefile:68: recipe for target 'CMPsimpref32' failed
make: *** [CMPsimpref32]


Even I trace path upto /usr/lib/ libz.a There was files like libzeitgeist-1.0.so.1 and libzeitgeist-1.0.so.1.1.4 but no libz.a file was there phisically.
Now I am stuck here. Can you please help me out in this?? Or correct me If I went wrong.
...listed here. Digging for details, you have listed step 4 as "make"...it is NOT...that is step 6. Since you didn't find G++, did you try installing it? First hit in Google for "how to install g++ in ubuntu 14.04:
http://askubuntu.com/questions/48180...n-ubuntu-14-04

Putting "ubuntu 14.04 libz.a" into Google yields as the first hit:
http://packages.ubuntu.com/trusty/libz-dev

...the name of the package that contains that file. Install IT as well.
 
1 members found this post helpful.
Old 03-16-2017, 12:15 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
also the page you linked to is rather OLD
it was last modified on
" Wed 25 Mar 2009 10:23:41 PM EDT"
8 years ago

5 years is a GENERATION in software terms ( 20 years in people terms)

you might have many issues related to the old date of the code

gcc 4.8 or 5 might not be able to build it
( security in writing code was tightened down -- to stop people from using BAD code)

you might have to use the legacy gcc3.4 compiler or 4.1 version


as per the unknown "instructions" i just happened to accidentally stumble upon them
https://www.jilp.org/dpc/prefetching...scription.html

and they use the old gcc 4.0

this is before the major security changes that took place in gcc 4.1 to 4.5

so it might need 4.0 to build

Last edited by John VV; 03-16-2017 at 12:21 PM.
 
1 members found this post helpful.
Old 03-16-2017, 01:10 PM   #9
Rupali#7
LQ Newbie
 
Registered: Mar 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
reply at #7

I thought unnecessary I am increasing the length of question so I didn't gave that material here, sorry for that.
If you click on "Simulation framework download and directions" on that site, you will find new page which contained following data.
**************************************************************************************************** *************************************
How to use the data prefetching competition kit

Setting Up the Simulation Infrastructure:

1. Subscribe to the prefetching competition mailing list by sending an empty email to dpc-1-subscribe AT yahoogroups.com. You do not need to have a Yahoo email account - you only need to subscribe to the mailing list. When prompted, type in a dummy message to the moderator.

This mailing list will be used for any announcments regarding the competition, any simulation infrastructure updates, and participants may post questions or report problems.

2. Download the prefetching competition kit file from here

3. unpack the prefetching kit:

tar -zxvf PREF_KIT.tgz
cd PREF_KIT

4. Set the variable 'PIN_HOME' in CONFIG/makefile.gnu.config to the 'pin-2.5-22247-gcc.4.0.0-ia32_intel64-linux' in the Prefetcher Kit. When you edit the makefile.gnu.config file, modify the second line to:

PIN_HOME ?= $PATH_TO_PREF_KIT/PREF_KIT/pin-2.5-22247-gcc.4.0.0-ia32_intel64-linux
5.Edit Makefile.competition and modify the fifth line `default: CMPsimpref32' depending whether you are on a 32-bit (IA-32, i686) or a 64-bit (x86_64) system. To get that configuration, type "uname -a" in Linux.

For 32-bit machines, modify to:
default: CMPsimpref32
For 64-bit machines, modify to:
default: CMPsimpref64
6. To compile the simulator with the sample prefetcher, make sure you are in the PREF_KIT directory and that your gcc compiler path is set up correctly, then type:

make
Generating traces to simulate:

To generate a trace for any single-threaded application, do the following (from the PREF_KIT/ directory):

mkdir traces
cd traces/

../pin/pin -t ../bin/CMPsim.gentrace32 -threads 1 -o [trace file name] -- [app] [app_args]

Note that you will have to modify the command to CMPsim.gentrace64 if you are running on a 64-bit machine.

For example, to generate a trace for the application "/bin/ls" with the arguments "-al":

../pin/pin -t ../bin/CMPsim.gentrace32 -threads 1 -o ls.out -- /bin/ls -al
This will create three files:

ls.out.gz ==> stats file on how many instructions it was able to trace<
ls.out.trace.gz ==> a binary of the trace file collected

ls.out.dep.gz ==> an ASCII representation of the instruction dependency information for out-of-order simulation

To collect traces for a snippet of an application, use the -fwd and -icount options to the pin tool.

-fwd : e.g. -fwd 10 will forward 10 million instructions (note: arg is in millions)
-icount : e.g. -icount 10 will trace 10 million instructions of the application

For example, to generate a trace of "ls -al" that fast-forwards for 1 million instructions and traces another 1 million instructions:

../pin/pin -t ../bin/CMPsim.gentrace32 -threads 1 -o ls.out -fwd 1 -icount 1 -- /bin/ls -al
(Hint: When evaluating the prefetchers, the organizers will use a trace list based, for the most part, on SPEC2006 benchmarks. When generating these traces, you should warm them up for 40 billion instructions and generate a trace for 100 million instructions, i.e., -fwd 40000 -icount 100)

Running the simulator with the sample prefetchter:

To run the simulator on the generated trace, do the following (from the PREF_KIT/ directory):

mkdir runs
cd runs/

../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t [trace file name] -- /bin/ls

Note that the purpose for adding the '/bin/ls' at the end is just to complete the pin usage command line syntax. Any valid command can be used.

The trace file name is the name of the trace collected by the CMPsim.gentrace tool. For example,if you wanted to run the ls.out.trace.gz trace generated above, you can run:

../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.stats -- /bin/ls
How to run simulations for the three configurations, with and without prefetching:

Participants in the data prefetching competition will be evaluated based on their results on three main configurations, as specified in the Simulation framework description webpage. Below are the command lines for the three configurations with and without prefetching:

(All commands are executed from the PREF_KIT/runs directory. Note that for actual traces you may need to change the -icount parameter to 100 so that it runs for 100 million instructions)

Configuration 1, without prefetching:
../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.config1_nopf.stats -icount 1 -l2lat 20 -dramlat 200 -cache DL1:32:64:8 -cache UL2:2048:64:16 -pref 0 -bwlimited 0 -- /bin/ls
Configuration 1, with prefetching:
../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.config1_pf.stats -icount 1 -l2lat 20 -dramlat 200 -cache DL1:32:64:8 -cache UL2:2048:64:16 -pref 1 -bwlimited 0 -- /bin/ls
Configuration 2, without prefetching:
../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.config2_nopf.stats -icount 1 -l2lat 20 -dramlat 200 -cache DL1:32:64:8 -cache UL2:2048:64:16 -pref 0 -bwlimited 1 -- /bin/ls
Configuration 2, with prefetching:
../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.config2_pf.stats -icount 1 -l2lat 20 -dramlat 200 -cache DL1:32:64:8 -cache UL2:2048:64:16 -pref 1 -bwlimited 1 -- /bin/ls
Configuration 3, without prefetching:
../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.config3_nopf.stats -icount 1 -l2lat 20 -dramlat 200 -cache DL1:32:64:8 -cache UL2:512:64:16 -pref 0 -bwlimited 1 -- /bin/ls
Configuration 3, with prefetching:
../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.config3_pf.stats -icount 1 -l2lat 20 -dramlat 200 -cache DL1:32:64:8 -cache UL2:512:64:16 -pref 1 -bwlimited 1 -- /bin/ls
Last Modified Thu Oct 30 10:36:17 PDT 2008 by Alaa R. Alameldeen.
**************************************************************************************************** ********************************************

Yes I installed g++ compiler. After doing this only I hit make command in terminal. I will work on your other suggestion and let you know Thanku
 
Old 03-16-2017, 01:10 PM   #10
Rupali#7
LQ Newbie
 
Registered: Mar 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
reply at #7

I thought unnecessary I am increasing the length of question so I didn't gave that material here, sorry for that.
If you click on "Simulation framework download and directions" on that site, you will find new page which contained following data.
**************************************************************************************************** *************************************
How to use the data prefetching competition kit

Setting Up the Simulation Infrastructure:

1. Subscribe to the prefetching competition mailing list by sending an empty email to dpc-1-subscribe AT yahoogroups.com. You do not need to have a Yahoo email account - you only need to subscribe to the mailing list. When prompted, type in a dummy message to the moderator.

This mailing list will be used for any announcments regarding the competition, any simulation infrastructure updates, and participants may post questions or report problems.

2. Download the prefetching competition kit file from here

3. unpack the prefetching kit:

tar -zxvf PREF_KIT.tgz
cd PREF_KIT

4. Set the variable 'PIN_HOME' in CONFIG/makefile.gnu.config to the 'pin-2.5-22247-gcc.4.0.0-ia32_intel64-linux' in the Prefetcher Kit. When you edit the makefile.gnu.config file, modify the second line to:

PIN_HOME ?= $PATH_TO_PREF_KIT/PREF_KIT/pin-2.5-22247-gcc.4.0.0-ia32_intel64-linux
5.Edit Makefile.competition and modify the fifth line `default: CMPsimpref32' depending whether you are on a 32-bit (IA-32, i686) or a 64-bit (x86_64) system. To get that configuration, type "uname -a" in Linux.

For 32-bit machines, modify to:
default: CMPsimpref32
For 64-bit machines, modify to:
default: CMPsimpref64
6. To compile the simulator with the sample prefetcher, make sure you are in the PREF_KIT directory and that your gcc compiler path is set up correctly, then type:

make
Generating traces to simulate:

To generate a trace for any single-threaded application, do the following (from the PREF_KIT/ directory):

mkdir traces
cd traces/

../pin/pin -t ../bin/CMPsim.gentrace32 -threads 1 -o [trace file name] -- [app] [app_args]

Note that you will have to modify the command to CMPsim.gentrace64 if you are running on a 64-bit machine.

For example, to generate a trace for the application "/bin/ls" with the arguments "-al":

../pin/pin -t ../bin/CMPsim.gentrace32 -threads 1 -o ls.out -- /bin/ls -al
This will create three files:

ls.out.gz ==> stats file on how many instructions it was able to trace<
ls.out.trace.gz ==> a binary of the trace file collected

ls.out.dep.gz ==> an ASCII representation of the instruction dependency information for out-of-order simulation

To collect traces for a snippet of an application, use the -fwd and -icount options to the pin tool.

-fwd : e.g. -fwd 10 will forward 10 million instructions (note: arg is in millions)
-icount : e.g. -icount 10 will trace 10 million instructions of the application

For example, to generate a trace of "ls -al" that fast-forwards for 1 million instructions and traces another 1 million instructions:

../pin/pin -t ../bin/CMPsim.gentrace32 -threads 1 -o ls.out -fwd 1 -icount 1 -- /bin/ls -al
(Hint: When evaluating the prefetchers, the organizers will use a trace list based, for the most part, on SPEC2006 benchmarks. When generating these traces, you should warm them up for 40 billion instructions and generate a trace for 100 million instructions, i.e., -fwd 40000 -icount 100)

Running the simulator with the sample prefetchter:

To run the simulator on the generated trace, do the following (from the PREF_KIT/ directory):

mkdir runs
cd runs/

../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t [trace file name] -- /bin/ls

Note that the purpose for adding the '/bin/ls' at the end is just to complete the pin usage command line syntax. Any valid command can be used.

The trace file name is the name of the trace collected by the CMPsim.gentrace tool. For example,if you wanted to run the ls.out.trace.gz trace generated above, you can run:

../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.stats -- /bin/ls
How to run simulations for the three configurations, with and without prefetching:

Participants in the data prefetching competition will be evaluated based on their results on three main configurations, as specified in the Simulation framework description webpage. Below are the command lines for the three configurations with and without prefetching:

(All commands are executed from the PREF_KIT/runs directory. Note that for actual traces you may need to change the -icount parameter to 100 so that it runs for 100 million instructions)

Configuration 1, without prefetching:
../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.config1_nopf.stats -icount 1 -l2lat 20 -dramlat 200 -cache DL1:32:64:8 -cache UL2:2048:64:16 -pref 0 -bwlimited 0 -- /bin/ls
Configuration 1, with prefetching:
../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.config1_pf.stats -icount 1 -l2lat 20 -dramlat 200 -cache DL1:32:64:8 -cache UL2:2048:64:16 -pref 1 -bwlimited 0 -- /bin/ls
Configuration 2, without prefetching:
../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.config2_nopf.stats -icount 1 -l2lat 20 -dramlat 200 -cache DL1:32:64:8 -cache UL2:2048:64:16 -pref 0 -bwlimited 1 -- /bin/ls
Configuration 2, with prefetching:
../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.config2_pf.stats -icount 1 -l2lat 20 -dramlat 200 -cache DL1:32:64:8 -cache UL2:2048:64:16 -pref 1 -bwlimited 1 -- /bin/ls
Configuration 3, without prefetching:
../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.config3_nopf.stats -icount 1 -l2lat 20 -dramlat 200 -cache DL1:32:64:8 -cache UL2:512:64:16 -pref 0 -bwlimited 1 -- /bin/ls
Configuration 3, with prefetching:
../pin/pin -t ../bin/CMPsim.usetrace -threads 1 -t ../traces/ls.out.trace.gz -o ls.out.config3_pf.stats -icount 1 -l2lat 20 -dramlat 200 -cache DL1:32:64:8 -cache UL2:512:64:16 -pref 1 -bwlimited 1 -- /bin/ls
Last Modified Thu Oct 30 10:36:17 PDT 2008 by Alaa R. Alameldeen.
**************************************************************************************************** ********************************************

Yes I installed g++ compiler. After doing this only I hit make command in terminal. I will work on your other suggestion and let you know Thankx
 
Old 03-20-2017, 04:31 PM   #11
Rupali#7
LQ Newbie
 
Registered: Mar 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Putting "ubuntu 14.04 libz.a" into Google yields as the first hit:
http://packages.ubuntu.com/trusty/libz-dev
I installed it by sudo apt install zlib1g-dev and replace /usr/lib/libz.a to -lz in Makefile.competition on ubantu 15.04, so again It generates error:: /user/bin/ld: can not open linker script file home/Rupali/Documents/PREF_KIT/pin-2.5-22247-gcc.4.0.0-ia32_intel64-linux/source/include/pintool.ver: no such file or directory

But actually at this location file is present with its respective data. So what went wrong?? Or is due to something different reason. I thought latest version of ubantu will be good so I installed ubantu 15.04 but after that I heard Ubuntu 15.04 is unsupported ??
 
Old 03-20-2017, 05:23 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I installed it by sudo apt install zlib1g-dev and replace /usr/lib/libz.a to -lz
why ?

a "lib.a" file is a static lib
a "lib.so" is a dynamically linked

and libraries in /usr/lib are 32 bit and in /usr/lib64 are 64 bit
 
Old 03-30-2017, 09:56 AM   #13
Rupali#7
LQ Newbie
 
Registered: Mar 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
user/lib/libz.a-file not found error

I Solved my problem by following steps on that site but with scientific linux 5.4 with gcc 4.1 configuration and I did one mistake when we have to set path up to prefetch kit. There was '$' sign which we have to remove while setting path for that PREF_KIT

You can make this question solved now, because I don't know how to make status of thread solved?
Thanks

Last edited by Rupali#7; 03-30-2017 at 09:58 AM.
 
Old 03-30-2017, 11:29 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Rupali#7 View Post
You can make this question solved now, because I don't know how to make status of thread solved?
Thanks
top of thread: Thread Tools > Mark solved.
you're welcome (mumble, grumble).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Kernel Programming Project - How to implement a IO/disk scheduling algorithm? momersaleem Programming 5 04-04-2014 01:38 PM
Linux Kernel Programming Project - How to implement a IO/disk scheduling algorithm? momersaleem Linux - Software 2 03-26-2014 04:11 PM
To implement a small project under linux networking as an academic exercise. abhishekgit Linux - Networking 6 03-29-2013 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration